Browse Source

WebGLShadowMap: Added depthMaterial.skinning back.

Mr.doob 8 years ago
parent
commit
3fa1df07e5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/renderers/webgl/WebGLShadowMap.js

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

@@ -71,6 +71,7 @@ function WebGLShadowMap( _renderer, _lights, _objects, capabilities ) {
 
 		var depthMaterial = depthMaterialTemplate.clone();
 		depthMaterial.morphTargets = useMorphing;
+		depthMaterial.skinning = useSkinning;
 
 		_depthMaterials[ i ] = depthMaterial;