diff options
author | Oz Linden <oz@lindenlab.com> | 2012-09-18 20:26:24 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-09-18 20:26:24 -0400 |
commit | 1991d95e852b3798ab3e41706525c843dd54914a (patch) | |
tree | 30f72efa8bc54c6466b91fd4ad97c6af60c68c31 /indra/newview/app_settings/shaders/class1/deferred/pointLightF.glsl | |
parent | ae127dc01ab10d407cf165ae2ad74060f65c1832 (diff) | |
parent | 72af85ffbd1c4d4dd44acf7bf65fe55b4851d01b (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.glsl | 3 |
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; } } |