Skip to content

Commit

Permalink
Merge pull request mrdoob#15775 from mrdoob/WestLangley-patch-1
Browse files Browse the repository at this point in the history
Fix minor bug
  • Loading branch information
Mugen87 authored Feb 14, 2019
2 parents a39c8a8 + deecc75 commit 2ff47d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/js/cameras/CinematicCamera.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2ff47d7

Please sign in to comment.