Browse Source

Deleted unnecessary uniforms update

gam0022 7 năm trước cách đây
mục cha
commit
4eea8a0825
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      examples/webgl_raymarching_reflect.html

+ 0 - 3
examples/webgl_raymarching_reflect.html

@@ -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 );