Skip to content

Commit 47eb1db

Browse files
committed
add TODO: create smooth transition in the future from hold to sample render target in TAARenderPass
1 parent b5969ce commit 47eb1db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/js/postprocessing/TAARenderPass.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ THREE.TAARenderPass.prototype.render = function ( renderer, writeBuffer, readBuf
131131

132132
}
133133

134+
// TODO: Add smooth transition from holdRenderTarget to sampleRenderTarget either while the sampleRenderTarget is being created or once it is done.
135+
// This should be possible with BlendShader I think.
136+
134137
this.accumulateUniforms[ "scale" ].value = 1.0;
135138
this.accumulateUniforms[ "tForeground" ].value = ( this.accumulateIndex < jitterOffsets.length ) ? this.holdRenderTarget : this.sampleRenderTarget;
136139
renderer.render( this.scene3, this.camera3, writeBuffer );

0 commit comments

Comments
 (0)