summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl2
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