Browse Source

add TODO: create smooth transition in the future from hold to sample render target in TAARenderPass

Ben Houston 9 years ago
parent
commit
47eb1db0f3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      examples/js/postprocessing/TAARenderPass.js

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

@@ -131,6 +131,9 @@ THREE.TAARenderPass.prototype.render = function ( renderer, writeBuffer, readBuf
 
 	}
 
+	// TODO: Add smooth transition from holdRenderTarget to sampleRenderTarget either while the sampleRenderTarget is being created or once it is done.
+	//   This should be possible with BlendShader I think.
+
 	this.accumulateUniforms[ "scale" ].value = 1.0;
 	this.accumulateUniforms[ "tForeground" ].value = ( this.accumulateIndex < jitterOffsets.length ) ? this.holdRenderTarget : this.sampleRenderTarget;
 	renderer.render( this.scene3, this.camera3, writeBuffer );