Import
TemporalReprojectNode is an addon, and must be imported explicitly, see Installation#Addons.
import { temporalReproject } from 'three/addons/tsl/display/TemporalReprojectNode.js';
Constructor
new TemporalReprojectNode( beautyNode : TextureNode, depthNode : TextureNode, normalNode : TextureNode, velocityNode : TextureNode, camera : Camera, options : TemporalReprojectNodeOptions )
| beautyNode | |
| depthNode | |
| normalNode | |
| velocityNode | |
| camera | |
| options |
Properties
.accumulate : boolean
When true, resolve output is copied into the internal history buffer each frame.
When false, history is supplied externally via TemporalReprojectNode#setHistoryTexture.
Methods
.setHistoryTexture( source : Object | Texture )
Supplies an external history source (e.g. a RecurrentDenoiseNode or its
texture). Only used when TemporalReprojectNode#accumulate is false.
| source |