Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 437 Bytes
#ifdef MORPHTARGETS
positionUpdated += (position{X} - position) * morphTargetInfluences[{X}];
#ifdef MORPHTARGETS_NORMAL
normalUpdated += (normal{X} - normal) * morphTargetInfluences[{X}];
#endif
#ifdef MORPHTARGETS_TANGENT
tangentUpdated.xyz += (tangent{X} - tangent.xyz) * morphTargetInfluences[{X}];
#endif
#ifdef MORPHTARGETS_UV
uvUpdated += (uv_{X} - uv) * morphTargetInfluences[{X}];
#endif
#endif
You can’t perform that action at this time.