소스 검색

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

Ben Houston 9 년 전
부모
커밋
47eb1db0f3
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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 );