summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/deferred/sunLightSSAOF.glsl
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-05-24 15:29:33 -0500
committerDave Parks <davep@lindenlab.com>2011-05-24 15:29:33 -0500
commit4353eeb9288c95b98935e60928ec0b80de4e6145 (patch)
tree6707a858286f25cf7e389ff2f5e92099e9b4569b /indra/newview/app_settings/shaders/class2/deferred/sunLightSSAOF.glsl
parentfd574e34857accd55e736d855975767fd7768b79 (diff)
SH-469 GL_ARB_texture_multisample support
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred/sunLightSSAOF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class2/deferred/sunLightSSAOF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/sunLightSSAOF.glsl b/indra/newview/app_settings/shaders/class2/deferred/sunLightSSAOF.glsl
index 847b36b1ac..68e18162f6 100644
--- a/indra/newview/app_settings/shaders/class2/deferred/sunLightSSAOF.glsl
+++ b/indra/newview/app_settings/shaders/class2/deferred/sunLightSSAOF.glsl
@@ -45,7 +45,7 @@ uniform float spot_shadow_offset;
vec4 getPosition(vec2 pos_screen)
{
- float depth = texture2DRect(depthMap, pos_screen.xy).a;
+ float depth = texture2DRect(depthMap, pos_screen.xy).r;
vec2 sc = pos_screen.xy*2.0;
sc /= screen_res;
sc -= vec2(1.0,1.0);