summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class3/lighting/lightV.glsl
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-06-10 09:15:35 -0700
committerGraham Linden <graham@lindenlab.com>2019-06-10 09:15:35 -0700
commitb79d0d2fdd047636598cbc9b088c3d4a10a84460 (patch)
tree6849c5cc4582c4720d121673121a418524a0cf77 /indra/newview/app_settings/shaders/class3/lighting/lightV.glsl
parent49eae58bd0d1eceda18a3997454beb15a5e27cbd (diff)
SL-10969, SL-11051
Make fullbright alpha mask with mask cutoff == 0 not generate shadows. Adjust handling of ambient across forward and deferred again.
Diffstat (limited to 'indra/newview/app_settings/shaders/class3/lighting/lightV.glsl')
-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 cba87a1db7..30ad493331 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 * 2.0 * getAmbientClamp();
+ c.rgb += atmosAmbient() * color.rgb * getAmbientClamp();
#endif
return c;