Browse Source

EffectComposer: Reseting pingpong can cause readBuffer and writeBuffer to be the same. See #8892.

Mr.doob 9 years ago
parent
commit
0f9b5871a1
1 changed files with 0 additions and 3 deletions
  1. 0 3
      examples/js/postprocessing/EffectComposer.js

+ 0 - 3
examples/js/postprocessing/EffectComposer.js

@@ -61,9 +61,6 @@ Object.assign( THREE.EffectComposer.prototype, {
 
 	render: function ( delta ) {
 
-		this.writeBuffer = this.renderTarget1;
-		this.readBuffer = this.renderTarget2;
-
 		var maskActive = false;
 
 		var pass, i, il = this.passes.length;