Explorar o código

Deleted unnecessary uniforms update

gam0022 %!s(int64=7) %!d(string=hai) anos
pai
achega
4eea8a0825
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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 );