|
@@ -1355,40 +1355,6 @@ function WebGLRenderer( parameters ) {
|
|
|
|
|
|
}
|
|
|
|
|
|
- const programAttributes = program.getAttributes();
|
|
|
-
|
|
|
- if ( material.morphTargets ) {
|
|
|
-
|
|
|
- material.numSupportedMorphTargets = 0;
|
|
|
-
|
|
|
- for ( let i = 0; i < _this.maxMorphTargets; i ++ ) {
|
|
|
-
|
|
|
- if ( programAttributes[ 'morphTarget' + i ] >= 0 ) {
|
|
|
-
|
|
|
- material.numSupportedMorphTargets ++;
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- if ( material.morphNormals ) {
|
|
|
-
|
|
|
- material.numSupportedMorphNormals = 0;
|
|
|
-
|
|
|
- for ( let i = 0; i < _this.maxMorphNormals; i ++ ) {
|
|
|
-
|
|
|
- if ( programAttributes[ 'morphNormal' + i ] >= 0 ) {
|
|
|
-
|
|
|
- material.numSupportedMorphNormals ++;
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
const uniforms = materialProperties.uniforms;
|
|
|
|
|
|
if ( ! material.isShaderMaterial &&
|