Browse Source

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

Mr.doob 9 năm trước cách đây
mục cha
commit
0f9b5871a1
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  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;