summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-05-01 16:43:08 -0500
committerDave Parks <davep@lindenlab.com>2013-05-01 16:43:08 -0500
commit5534078e9d371782148f08e40ca55bf0b52aa512 (patch)
tree461ee16edd0d6d0700ff1e945356258c8aa67f80 /indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
parentd7877e078e9b3488ad92617afada19d2e4828aea (diff)
parent0938ce04f7d12439740285b61db3dd0bdadebb4f (diff)
Automated merge with https://bitbucket.org/lindenlab/viewer-development-materials
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
index b29f676ecc..c918a42c73 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
@@ -234,6 +234,7 @@ void main()
if (spec.a > 0.0)
{
+ dlit *= min(da*6.0, 1.0) * dist_atten;
vec3 npos = -normalize(pos);
//vec3 ref = dot(pos+lv, norm);