Skip to content

TAA (Temporal AA)

TAA (Temporal Antialiasing) is a time-based technique that blends information from previous frames with the current frame to eliminate jagged edges. It provides the highest quality among current antialiasing techniques, producing smooth, cinematic images.

1. How it Works

TAA works by slightly jittering the camera every frame and then accumulating and averaging multiple rendered frames. This process allows the engine to obtain resolution information more precise than a single pixel.

  • Pros: Provides near-perfect antialiasing quality in static or slow-moving scenes.
  • Cons: Ghosting artifacts (trails) may occur on fast-moving objects.

2. Usage

Enabled via antialiasingManager.useTAA. Enabling this automatically disables MSAA or FXAA.

javascript
// Enable TAA (Other AAs are disabled)
redGPUContext.antialiasingManager.useTAA = true;

3. Live Example: TAA Quality Check

Observe how TAA handles edges, textures, and fine patterns in the same scene. (Notice how it perfectly resolves the shimmering in the grid pattern and texture details.)

Key Summary

  • Best Quality: Almost completely eliminates jagged edges.
  • Auto-Selection: Automatically enabled on high-DPI displays (like Retina).
  • High Cost: Recommended for desktop environments due to per-frame computation and memory overhead.