提交 0f57208c 编写于 作者: M Mr.doob

Fixed DirectionalLights shadow breakage.

上级 8c69af75
......@@ -171,6 +171,8 @@ THREE.WebGLShadowMap = function ( _renderer, _lights, _objects ) {
shadow.map = new THREE.WebGLRenderTarget( _shadowMapSize.x, _shadowMapSize.y, pars );
shadowCamera.updateProjectionMatrix();
}
if ( shadow instanceof THREE.SpotLightShadow ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册