summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-09-30 12:42:30 -0500
committerDave Parks <davep@lindenlab.com>2011-09-30 12:42:30 -0500
commit4ff4d99c4751b905c12ab56289b63e39ef6269de (patch)
tree59888efb5f650b0a06ad70cfc296d93b90a1654b /indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl
parentf7ddde3807a3437cc036e687d216ef69feb6214b (diff)
parent8c1f8c77469a3b1dbc66f56f8722c0c01fdddf8a (diff)
merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl b/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl
index 09688b2be2..43ed41a205 100644
--- a/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl
+++ b/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl
@@ -24,7 +24,7 @@
-attribute vec4 object_weight;
+ATTRIBUTE vec4 weight4;
uniform mat4 matrixPalette[32];
@@ -32,8 +32,8 @@ mat4 getObjectSkinnedTransform()
{
int i;
- vec4 w = fract(object_weight);
- vec4 index = floor(object_weight);
+ vec4 w = fract(weight4);
+ vec4 index = floor(weight4);
float scale = 1.0/(w.x+w.y+w.z+w.w);
w *= scale;