Browse Source

WebGLShadowMap: Clean up.

Mugen87 5 năm trước cách đây
mục cha
commit
84feb98a67
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/renderers/webgl/WebGLShadowMap.js

+ 1 - 1
src/renderers/webgl/WebGLShadowMap.js

@@ -295,7 +295,7 @@ function WebGLShadowMap( _renderer, _objects, maxTextureSize ) {
 
 			var useMorphing = false;
 
-			if ( material.morphTargets === true && geometry.isBufferGeometry === true ) {
+			if ( material.morphTargets === true ) {
 
 				useMorphing = geometry.morphAttributes && geometry.morphAttributes.position && geometry.morphAttributes.position.length > 0;