提交 fcc2ac48 编写于 作者: G Garrett Johnson

remove unnecessary shadow camera updates

上级 3beb92a3
......@@ -243,9 +243,6 @@ export default class CSM {
light.target.position.y += this.lightDirection.y;
light.target.position.z += this.lightDirection.z;
light.shadow.camera.updateMatrixWorld();
light.shadow.camera.updateProjectionMatrix();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册