summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/impostorV.glsl
diff options
context:
space:
mode:
authorLeslie Linden <leslie@lindenlab.com>2011-11-11 16:27:08 -0800
committerLeslie Linden <leslie@lindenlab.com>2011-11-11 16:27:08 -0800
commit84ab08d2a5ac59ea2681e3dea0e0bc48e3d99de5 (patch)
tree4625f752d73b46de471045f39e2937baa1ae40b4 /indra/newview/app_settings/shaders/class1/deferred/impostorV.glsl
parente2e154d94ea0684ede8c7c1b70fff555edbd6065 (diff)
Assorted shader cleanup to remove a few warnings and errors for OS X.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/impostorV.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/impostorV.glsl4
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/impostorV.glsl b/indra/newview/app_settings/shaders/class1/deferred/impostorV.glsl
index 58e5dc0b56..42266e9378 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/impostorV.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/impostorV.glsl
@@ -27,10 +27,8 @@ uniform mat4 texture_matrix0;
uniform mat4 modelview_projection_matrix;
ATTRIBUTE vec3 position;
-ATTRIBUTE vec4 diffuse_color;
ATTRIBUTE vec2 texcoord0;
-VARYING vec4 vertex_color;
VARYING vec2 vary_texcoord0;
void main()
@@ -38,6 +36,4 @@ void main()
//transform vertex
gl_Position = modelview_projection_matrix * vec4(position.xyz, 1.0);
vary_texcoord0 = (texture_matrix0 * vec4(texcoord0,0,1)).xy;
-
- vertex_color = diffuse_color;
}