diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2022-08-24 23:03:31 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2022-08-24 23:03:31 -0700 |
commit | 23126b78255adcb02bafe39891d31da70a0884e8 (patch) | |
tree | 6e07a962bfd2cf49aa5df8a450f96774c65d14a1 /indra/newview/app_settings/shaders/class3 | |
parent | b7cb20bfcdd0a8dab7882ccaad0982d3cdd65d5f (diff) |
SL-17703: PBR: Convert sunlight color in sRGB to Linear due to EEP/Windlight.
Diffstat (limited to 'indra/newview/app_settings/shaders/class3')
-rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl index 8ee8210fb8..d4140a0d92 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -358,7 +358,7 @@ void main() if (nl > 0.0 || nv > 0.0) { - vec3 sunColor = sunlit * 2.0; // Midday should have strong sunlight + vec3 sunColor = srgb_to_linear(sunlit * 2.0); // NOTE: *2.0 Midday should have strong sunlight #if DEBUG_PBR_SUN_FULL_BRIGHT sunColor = vec3(1); #endif |