diff options
Diffstat (limited to 'linden/indra/newview/app_settings/shaders/class1/deferred/terrainV.glsl')
-rw-r--r-- | linden/indra/newview/app_settings/shaders/class1/deferred/terrainV.glsl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linden/indra/newview/app_settings/shaders/class1/deferred/terrainV.glsl b/linden/indra/newview/app_settings/shaders/class1/deferred/terrainV.glsl index e9d6dca..3038b14 100644 --- a/linden/indra/newview/app_settings/shaders/class1/deferred/terrainV.glsl +++ b/linden/indra/newview/app_settings/shaders/class1/deferred/terrainV.glsl | |||
@@ -6,7 +6,6 @@ | |||
6 | */ | 6 | */ |
7 | 7 | ||
8 | varying vec3 vary_normal; | 8 | varying vec3 vary_normal; |
9 | varying vec4 vary_position; | ||
10 | 9 | ||
11 | vec4 texgen_object(vec4 vpos, vec4 tc, mat4 mat, vec4 tp0, vec4 tp1) | 10 | vec4 texgen_object(vec4 vpos, vec4 tc, mat4 mat, vec4 tp0, vec4 tp1) |
12 | { | 11 | { |
@@ -27,7 +26,6 @@ void main() | |||
27 | //transform vertex | 26 | //transform vertex |
28 | gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; | 27 | gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; |
29 | 28 | ||
30 | vary_position = gl_ModelViewMatrix * gl_Vertex; | ||
31 | vary_normal = normalize(gl_NormalMatrix * gl_Normal); | 29 | vary_normal = normalize(gl_NormalMatrix * gl_Normal); |
32 | 30 | ||
33 | // Transform and pass tex coords | 31 | // Transform and pass tex coords |