Material Color Inconsistencies: mudanças entre as edições
Ir para navegação
Ir para pesquisar
m (Trilib moveu Material Color Changes para Material Color Inconsistencies) |
Sem resumo de edição |
||
Linha 1: | Linha 1: | ||
Sometimes when loading model materials, the color might differ from what other viewers are showing. | Sometimes, when loading model materials, the color might differ from what other viewers are showing. | ||
TriLib will convert material color values and texture colors by default to the gamma (sRGB) representation. | |||
If you don't want this to happen, | If you don't want this to happen, disable these behaviors by turning off your '''<code>AssetLoaderOptions</code> <code>ApplyGammaCurveToMaterialColors</code>''' and '''<code>LoadTexturesAsSRGB</code>''' fields. | ||
Another reason for colors to differ | Another reason for colors to differ is when TriLib does not apply ambient color to FBX materials. | ||
You can enable the | You can enable the '''<code>FBXReader.ApplyAbientColor</code>''' static field so TriLib can apply ambient color to FBX materials. |
Edição atual tal como às 09h07min de 18 de maio de 2024
Sometimes, when loading model materials, the color might differ from what other viewers are showing.
TriLib will convert material color values and texture colors by default to the gamma (sRGB) representation.
If you don't want this to happen, disable these behaviors by turning off your AssetLoaderOptions
ApplyGammaCurveToMaterialColors
and LoadTexturesAsSRGB
fields.
Another reason for colors to differ is when TriLib does not apply ambient color to FBX materials.
You can enable the FBXReader.ApplyAbientColor
static field so TriLib can apply ambient color to FBX materials.