Selaa lähdekoodia

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

Mr.doob 9 vuotta sitten
vanhempi
commit
0f9b5871a1
1 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  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;