diff options
author | Oz Linden <oz@lindenlab.com> | 2014-01-29 18:25:03 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2014-01-29 18:25:03 -0500 |
commit | 7b1e1e4e35351936f2ab0305a91691f78f69519d (patch) | |
tree | 33fe5158da98924ed8fb96cffd73e24bce1b37db /indra/newview/app_settings/shaders | |
parent | cabd5867b7bb35cff08024a5b7305f1ad8adf3fb (diff) |
FITMESH-6: correct bounds checking
Diffstat (limited to 'indra/newview/app_settings/shaders')
-rwxr-xr-x | indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl b/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl index 8eb5a977bc..57129c3bd1 100755 --- a/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl +++ b/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl @@ -34,7 +34,7 @@ mat4 getObjectSkinnedTransform() vec4 w = fract(weight4); vec4 index = floor(weight4); - index = min(index, vec4(63.0)); + index = min(index, vec4(51.0)); index = max(index, vec4( 0.0)); float scale = 1.0/(w.x+w.y+w.z+w.w); |