summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
diff options
context:
space:
mode:
authorGeenz <geenz@geenzo.com>2014-08-06 21:56:32 -0400
committerGeenz <geenz@geenzo.com>2014-08-06 21:56:32 -0400
commitca6103f57c452c9e3bb23a94899725d4f7ca8197 (patch)
tree479e383993bc45a41ede6f67c496706185a62dcc /indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
parent1346949e4d601e8c945fa30593ba1d405e9ed80d (diff)
Fix for BUG-6895.
This brings projector reflections more in line with the originally intended behavior of environment reflections.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl')
-rwxr-xr-xindra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
index 8d8a6c9dde..5094513e52 100755
--- a/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
@@ -334,7 +334,7 @@ void main()
stc.x > 0.0 &&
stc.y > 0.0)
{
- col += color.rgb*texture2DLodSpecular(projectionMap, stc.xy, proj_lod-envIntensity*proj_lod).rgb*spec.rgb;
+ col += color.rgb * texture2DLodSpecular(projectionMap, stc.xy, proj_lod).rgb * envIntensity;
}
}
}