Buckets:

imerfanrajabee's picture
download
raw
641 Bytes
export default /* glsl */`
#ifdef USE_MORPHTARGETS
// morphTargetBaseInfluence is set based on BufferGeometry.morphTargetsRelative value:
// When morphTargetsRelative is false, this is set to 1 - sum(influences); this results in position = sum((target - base) * influence)
// When morphTargetsRelative is true, this is set to 1; as a result, all morph targets are simply added to the base after weighting
transformed *= morphTargetBaseInfluence;
for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {
if ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];
}
#endif
`;

Xet Storage Details

Size:
641 Bytes
·
Xet hash:
dade52080aa39e325f5aecf4c6d63e748b56a237b5491a02fe3f251d7869beeb

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.