Explorar o código

Fix minor bug

WestLangley %!s(int64=6) %!d(string=hai) anos
pai
achega
deecc75ca3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/js/cameras/CinematicCamera.js

+ 1 - 1
examples/js/cameras/CinematicCamera.js

@@ -193,7 +193,7 @@ THREE.CinematicCamera.prototype.renderCinematic = function ( scene, renderer ) {
 		scene.overrideMaterial = this.materialDepth;
 		renderer.setRenderTarget( this.postprocessing.rtTextureDepth );
 		renderer.clear();
-		renderer.render( scene, camera, this.postprocessing.rtTextureDepth );
+		renderer.render( scene, camera );
 
 		// Render bokeh composite