9 lines
325 B
GLSL
9 lines
325 B
GLSL
#ifdef USE_MORPHNORMALS
|
|
|
|
objectNormal += ( morphNormal0 - normal ) * morphTargetInfluences[ 0 ];
|
|
objectNormal += ( morphNormal1 - normal ) * morphTargetInfluences[ 1 ];
|
|
objectNormal += ( morphNormal2 - normal ) * morphTargetInfluences[ 2 ];
|
|
objectNormal += ( morphNormal3 - normal ) * morphTargetInfluences[ 3 ];
|
|
|
|
#endif
|