提交 4eea8a08 编写于 作者: G gam0022

Deleted unnecessary uniforms update

上级 8bc4bb15
......@@ -354,9 +354,6 @@
if ( camera.position.y < 0 ) camera.position.y = 0;
material.uniforms.resolution.value.set( canvas.width, canvas.height );
material.uniforms.cameraWorldMatrix.value = camera.matrixWorld;
material.uniforms.cameraProjectionMatrixInverse.value.getInverse( camera.projectionMatrix );
renderer.render( scene, camera );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册