diff options
Diffstat (limited to 'linden/indra/newview/app_settings/shaders/class1/deferred/avatarV.glsl')
-rw-r--r-- | linden/indra/newview/app_settings/shaders/class1/deferred/avatarV.glsl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/newview/app_settings/shaders/class1/deferred/avatarV.glsl b/linden/indra/newview/app_settings/shaders/class1/deferred/avatarV.glsl index 471a1f0..12a7ff7 100644 --- a/linden/indra/newview/app_settings/shaders/class1/deferred/avatarV.glsl +++ b/linden/indra/newview/app_settings/shaders/class1/deferred/avatarV.glsl | |||
@@ -10,6 +10,7 @@ mat4 getSkinnedTransform(); | |||
10 | attribute vec4 weight; | 10 | attribute vec4 weight; |
11 | 11 | ||
12 | varying vec3 vary_normal; | 12 | varying vec3 vary_normal; |
13 | varying vec4 vary_position; | ||
13 | 14 | ||
14 | void main() | 15 | void main() |
15 | { | 16 | { |
@@ -29,6 +30,7 @@ void main() | |||
29 | norm.z = dot(trans[2].xyz, gl_Normal); | 30 | norm.z = dot(trans[2].xyz, gl_Normal); |
30 | norm = normalize(norm); | 31 | norm = normalize(norm); |
31 | 32 | ||
33 | vary_position = pos; | ||
32 | vary_normal = norm; | 34 | vary_normal = norm; |
33 | 35 | ||
34 | gl_Position = gl_ProjectionMatrix * pos; | 36 | gl_Position = gl_ProjectionMatrix * pos; |