提交 7ca27470 编写于 作者: S supereggbrt

restore initial projection matrix update

上级 cfec7dd8
......@@ -140,6 +140,8 @@ function WebGLShadowMap( _renderer, _objects, maxTextureSize ) {
shadow.map = new WebGLRenderTarget( _shadowMapSize.x, _shadowMapSize.y, pars );
shadow.map.texture.name = light.name + ".shadowMap";
shadow.camera.updateProjectionMatrix();
}
_renderer.setRenderTarget( shadow.map );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册