summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-06-18 13:41:53 -0700
committerGraham Linden <graham@lindenlab.com>2019-06-18 13:41:53 -0700
commit782ddfdb48e1bdf6995783c11342eed2de4a30bb (patch)
tree7e6a8690153bd568bbba5e2ecacac860a9bcf255 /indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl
parent4abb342e9564a7740475c3abe60cd62ae5bbc34d (diff)
SL-11041
Revert fix for SL_11406 causing regression of SL-11041
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl
index 5fb3dc12e6..0d180e5798 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl
@@ -111,8 +111,8 @@ void main()
vec3 sun_contrib = final_da * sunlit;
#if !defined(AMBIENT_KILL)
- color.rgb = amblit * 2.0;
- color.rgb *= ambient * 0.5;
+ color.rgb = amblit;
+ color.rgb *= ambient;
#endif
vec3 post_ambient = color.rgb;