summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/pointLightF.glsl
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-09-18 20:26:24 -0400
committerOz Linden <oz@lindenlab.com>2012-09-18 20:26:24 -0400
commit1991d95e852b3798ab3e41706525c843dd54914a (patch)
tree30f72efa8bc54c6466b91fd4ad97c6af60c68c31 /indra/newview/app_settings/shaders/class1/deferred/pointLightF.glsl
parentae127dc01ab10d407cf165ae2ad74060f65c1832 (diff)
parent72af85ffbd1c4d4dd44acf7bf65fe55b4851d01b (diff)
merge updates from Geenz
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/pointLightF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/pointLightF.glsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/pointLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/pointLightF.glsl
index 75757b26c8..6e5ac8317b 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/pointLightF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/pointLightF.glsl
@@ -110,8 +110,7 @@ void main()
float sa = dot(normalize(lv-normalize(pos)),norm);
if (sa > 0.0)
{
- sa = 6 * texture2D(lightFunc, vec2(sa, spec.a)).r * min(dist_atten*4.0, 1.0);
- sa *= noise;
+ sa = texture2D(lightFunc, vec2(sa, spec.a)).r * min(dist_atten*4.0, 1.0);
col += da*sa*color.rgb*spec.rgb;
}
}