diff options
author | Runitai Linden <davep@lindenlab.com> | 2020-03-06 13:54:27 -0600 |
---|---|---|
committer | Runitai Linden <davep@lindenlab.com> | 2020-03-06 13:54:27 -0600 |
commit | a3759b4910b94b3a375e16e605dc1a4f096f2256 (patch) | |
tree | b1409e0e4756e2ed9408d0eefc044cd4c491f721 /indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl | |
parent | 7d0cf70e4f335056e0d81b0b48264e5dda5be668 (diff) |
Fix for sky in wrong color space.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl index 54abd56625..1acb8d08eb 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl @@ -154,7 +154,7 @@ vec3 post_diffuse = color.rgb; vec3 post_spec = color.rgb; - color.rgb = mix(color.rgb, diffuse_linear.rgb, diffuse_linear.a); + color.rgb = mix(color.rgb, diffuse_srgb.rgb, diffuse_srgb.a); if (envIntensity > 0.0) { //add environmentmap |