summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/effects/simpleF.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/effects/simpleF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class2/effects/simpleF.glsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/effects/simpleF.glsl b/indra/newview/app_settings/shaders/class2/effects/simpleF.glsl
index abf1be6645..74e9559185 100644
--- a/indra/newview/app_settings/shaders/class2/effects/simpleF.glsl
+++ b/indra/newview/app_settings/shaders/class2/effects/simpleF.glsl
@@ -27,8 +27,10 @@
uniform sampler2DRect RenderTexture;
+VARYING vec2 vary_texcoord0;
+
void main(void)
{
- vec3 color = vec3(texture2DRect(RenderTexture, gl_TexCoord[0].st));
+ vec3 color = vec3(texture2DRect(RenderTexture, vary_texcoord0.st));
gl_FragColor = vec4(1.0 - color, 1.0);
}