Capítulo 495 de 859

Chapter 495: TemporalReprojectNode

Core Idea

Temporal reprojection pass for denoising screen-space effects (SSGI, SSR, etc.).

Both modes share geometrically-weighted 4-tap bilinear history sampling and YCoCg variance clipping. Surface velocity reprojection is always sampled first. Specular mode then blends in hit-point parallax history on top of that surface result. Diffuse mode applies velocity-field divergence to detect surface stretching.

Unlike jitter-based TAA/TAAU, this node does not apply camera sub-pixel jitter — it only reprojects and accumulates history using motion vectors.

References:

Key Concepts

  • accumulate : boolean: When true, resolve output is copied into the internal history buffer each frame. When false, history is supplied externally via [Tempor…
  • mode : TemporalReprojectMode:

Code Examples

import { temporalReproject } from 'three/addons/tsl/display/TemporalReprojectNode.js';
  • What it demonstrates: Typical usage of TemporalReprojectNode.

Reference Tables

Constructor

Signature
new TemporalReprojectNode( beautyNode : TextureNode, depthNode : TextureNode, normalNode : TextureNode, velocityNode : TextureNode, camera : Camera, options : TemporalReprojectNodeOptions )

Properties

PropertyDescription
.accumulate : booleanWhen true, resolve output is copied into the internal history buffer each frame. When false, history is supplied externally via [TemporalReprojectNode#setHistoryTexture](TemporalReprojectNode.htm…
.mode : TemporalReprojectMode

Methods

MethodDescription
`.setHistoryTexture( source : ObjectTexture )`

Key Takeaways

  1. TemporalReprojectNode extends: EventDispatcher → Node → TempNode
  2. Most relevant properties: accumulate, mode.
  3. Key methods: setHistoryTexture.

Connects To