diff options
author | Dave Parks <davep@lindenlab.com> | 2023-03-02 16:36:03 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2023-03-02 16:36:03 -0600 |
commit | bc7856098f70371dd392c74689df267cce819aa7 (patch) | |
tree | cab4a765e34088ff63e4e9d496f6036513c4b337 /indra/llprimitive/llgltfmaterial.h | |
parent | 0982c44b46bfcbbf0d9a7a9a93605112fd1a4bd4 (diff) |
SL-19281 Unify handling of haze and gamma between fullbright and not and move haze back to sRGB color space to stay consistent with sky colors. Also fix broken "roughness" stuck at 0.2.
Diffstat (limited to 'indra/llprimitive/llgltfmaterial.h')
-rw-r--r-- | indra/llprimitive/llgltfmaterial.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llprimitive/llgltfmaterial.h b/indra/llprimitive/llgltfmaterial.h index e701b62fdc..b453b91e67 100644 --- a/indra/llprimitive/llgltfmaterial.h +++ b/indra/llprimitive/llgltfmaterial.h @@ -98,7 +98,8 @@ public: std::array<TextureTransform, GLTF_TEXTURE_INFO_COUNT> mTextureTransform; - // NOTE : initialize values to defaults according to the GLTF spec + // NOTE: initialize values to defaults according to the GLTF spec + // NOTE: these values should be in linear color space LLColor4 mBaseColor = LLColor4(1, 1, 1, 1); LLColor3 mEmissiveColor = LLColor3(0, 0, 0); |