aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/app_settings/shaders/class1/deferred/avatarV.glsl
diff options
context:
space:
mode:
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.glsl2
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();
10attribute vec4 weight; 10attribute vec4 weight;
11 11
12varying vec3 vary_normal; 12varying vec3 vary_normal;
13varying vec4 vary_position;
13 14
14void main() 15void 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;