summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/objects/fullbrightV.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/objects/fullbrightV.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/objects/fullbrightV.glsl13
1 files changed, 0 insertions, 13 deletions
diff --git a/indra/newview/app_settings/shaders/class1/objects/fullbrightV.glsl b/indra/newview/app_settings/shaders/class1/objects/fullbrightV.glsl
index a8efcd9857..fc20d3270e 100644
--- a/indra/newview/app_settings/shaders/class1/objects/fullbrightV.glsl
+++ b/indra/newview/app_settings/shaders/class1/objects/fullbrightV.glsl
@@ -26,14 +26,6 @@
uniform mat4 texture_matrix0;
uniform mat4 modelview_matrix;
uniform mat4 modelview_projection_matrix;
-
-uniform bool invert_tex_y = false;
-const mat4 invTexM = mat4(
- 1, 0, 0, 0,
- 0,-1, 0, 0,
- 0, 0, 1, 0,
- 0, 0, 0, 1
-);
ATTRIBUTE vec3 position;
void passTextureIndex();
@@ -57,11 +49,6 @@ void main()
vec4 pos = (modelview_matrix * vert);
gl_Position = modelview_projection_matrix*vec4(position.xyz, 1.0);
vary_texcoord0 = (texture_matrix0 * vec4(texcoord0,0,1)).xy;
-
- if(invert_tex_y)
- {
- vary_texcoord0 = vec2(invTexM * vec4(vary_texcoord0,0,1)).xy;
- }
calcAtmospherics(pos.xyz);