소스 검색

Deleted unnecessary uniforms update

gam0022 7 년 전
부모
커밋
4eea8a0825
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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 );