Sha256: 8b1df0cce15d9dea8243394d7c67223caf7fa4cc14d79d61bfe4ce101cc96be4
Contents?: true
Size: 453 Bytes
Versions: 21
Compression:
Stored size: 453 Bytes
Contents
#ifdef USE_SKINNING #ifdef USE_MORPHTARGETS vec4 skinVertex = bindMatrix * vec4( morphed, 1.0 ); #else vec4 skinVertex = bindMatrix * vec4( position, 1.0 ); #endif vec4 skinned = vec4( 0.0 ); skinned += boneMatX * skinVertex * skinWeight.x; skinned += boneMatY * skinVertex * skinWeight.y; skinned += boneMatZ * skinVertex * skinWeight.z; skinned += boneMatW * skinVertex * skinWeight.w; skinned = bindMatrixInverse * skinned; #endif
Version data entries
21 entries across 21 versions & 2 rubygems