summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class3/lighting
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-05-29 15:57:24 -0700
committerGraham Linden <graham@lindenlab.com>2019-05-29 15:57:24 -0700
commit2f2cf6d855e1e5977ef0ed3583238636e890220a (patch)
tree23469b9f26f53271d3df526aa8f9c767383d833f /indra/newview/app_settings/shaders/class3/lighting
parenta00dd2837d92ffc1b3732fb2df273bb3759eed90 (diff)
SL-10969
Modify ambient handling and forward projector lighting again to stamp out alpha fires.
Diffstat (limited to 'indra/newview/app_settings/shaders/class3/lighting')
-rw-r--r--indra/newview/app_settings/shaders/class3/lighting/lightV.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class3/lighting/lightV.glsl b/indra/newview/app_settings/shaders/class3/lighting/lightV.glsl
index eca8515212..6918ac3b8c 100644
--- a/indra/newview/app_settings/shaders/class3/lighting/lightV.glsl
+++ b/indra/newview/app_settings/shaders/class3/lighting/lightV.glsl
@@ -35,7 +35,7 @@ vec4 calcLighting(vec3 pos, vec3 norm, vec4 color)
vec4 c = sumLights(pos, norm, color);
#if !defined(AMBIENT_KILL)
- c.rgb += atmosAmbient() * color.rgb * getAmbientClamp();
+ c.rgb += atmosAmbient() * color.rgb * 0.5 * getAmbientClamp();
#endif
return c;