fireball/lib/renderers/shaders/ShaderChunk/skinbase_vertex.glsl
2018-12-25 17:29:22 +03:30

8 lines
216 B
GLSL

#ifdef USE_SKINNING
mat4 boneMatX = getBoneMatrix( skinIndex.x );
mat4 boneMatY = getBoneMatrix( skinIndex.y );
mat4 boneMatZ = getBoneMatrix( skinIndex.z );
mat4 boneMatW = getBoneMatrix( skinIndex.w );
#endif