Skip to content

Commit

Permalink
Examples: Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Feb 14, 2019
1 parent 2ff47d7 commit 2a77a7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/js/effects/ParallaxBarrierEffect.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ THREE.ParallaxBarrierEffect = function ( renderer ) {

renderer.setRenderTarget( _renderTargetR );
renderer.clear();
renderer.render( scene, _stereo.cameraR, _renderTargetR, true );
renderer.render( scene, _stereo.cameraR );

renderer.setRenderTarget( null );
renderer.render( _scene, _camera );
Expand Down
2 changes: 1 addition & 1 deletion examples/js/postprocessing/AdaptiveToneMappingPass.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ THREE.AdaptiveToneMappingPass.prototype = Object.assign( Object.create( THREE.Pa
this.quad.material = this.materialCopy;
this.copyUniforms.tDiffuse.value = this.luminanceRT.texture;
renderer.setRenderTarget( this.previousLuminanceRT );
renderer.render( this.scene, this.camera, this.previousLuminanceRT );
renderer.render( this.scene, this.camera );

}

Expand Down
2 changes: 1 addition & 1 deletion examples/webgl_postprocessing_godrays.html
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
postprocessing.godraysFakeSunUniforms[ "fAspect" ].value = window.innerWidth / window.innerHeight;

postprocessing.scene.overrideMaterial = postprocessing.materialGodraysFakeSun;
renderer.render( postprocessing.rtTextureColors );
renderer.setRenderTarget( postprocessing.rtTextureColors );
renderer.render( postprocessing.scene, postprocessing.camera );

renderer.setScissorTest( false );
Expand Down

0 comments on commit 2a77a7c

Please sign in to comment.