diff options
author | Dave Parks <davep@lindenlab.com> | 2013-04-16 03:02:00 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2013-04-16 03:02:00 -0500 |
commit | d1f713f30bd4d42fe4696e25c01ab4532ef3b69b (patch) | |
tree | ea36b2c6565afd1bf4c00f36bea44a31cf0fce37 /indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl | |
parent | fafa21315f043ab51e3373e825c85646685778a6 (diff) | |
parent | f964e51fc98ed9b31cb9b3e4dad2ccde14de777b (diff) |
Automated merge with https://bitbucket.org/lindenlab/viewer-development-materials
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl b/indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl index 43fc5dbc5e..5fd6f0afb7 100644 --- a/indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl +++ b/indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl @@ -214,9 +214,7 @@ void main() vec3 lcol = color.rgb * plcol.rgb * plcol.a; - lit = da * dist_atten * noise; - - lit = pow(lit, 0.7); + lit = pow(da, 0.7) * dist_atten * noise; col = lcol*lit*diff_tex*shadow; amb_da += (da*0.5)*(1.0-shadow)*proj_ambiance; |