FITMESH-6, FITMESH-20 Fix for some objects disappearing when hardware skinning enabled and ALM disabled.

NOTE: There appears to be a driver bug on some AMD systems that will cause hardware skinning to break given different combinations of shaders. Users should be advised that if they see improper skinning on their avatars, they should either enable advanced lighting model, or disable atmospheric shaders or hardware skinning.

davep
This commit is contained in:
Latif Khalifa
2014-01-24 12:26:43 +01:00
parent de29ea779a
commit aaf06fa2cc
2 changed files with 11 additions and 14 deletions

View File

@@ -22,17 +22,14 @@
* $/LicenseInfo$
*/
ATTRIBUTE vec4 weight4;
uniform mat3 matrixPalette[64];
uniform vec3 translationPalette[64];
uniform mat3 matrixPalette[52];
uniform vec3 translationPalette[52];
mat4 getObjectSkinnedTransform()
{
int i;
int i;
vec4 w = fract(weight4);
vec4 index = floor(weight4);