morphtarget_vertex.glsl 219 B

123456
  1. #ifdef MORPHTARGETS
  2. vPosition += (MorphPosition{i} - VertexPosition) * morphTargetInfluences[{i}];
  3. #ifdef MORPHTARGETS_NORMAL
  4. vNormal += (MorphNormal{i} - VertexNormal) * morphTargetInfluences[{i}];
  5. #endif
  6. #endif