Skip to content

FXAA (Fast Approximate AA)

FXAA is a Post-Processing antialiasing technique that analyzes the rendered image to find edges and blur them.

1. Features & Pros

  • Super Fast: Very low computational cost, suitable for mobile devices.
  • Memory Efficient: Does not require additional buffers like MSAA.
  • Cons: The entire screen may become slightly blurry, reducing texture sharpness.

2. Usage

Enabled via antialiasingManager.useFXAA. Enabling this automatically disables MSAA or TAA.

javascript
// Enable FXAA (Other AAs are disabled)
redGPUContext.antialiasingManager.useFXAA = true;

3. Live Example: FXAA Quality Check

Check how FXAA handles edges, textures, and highlights. (Edges are smoothed, but texture details may be slightly blurred.)

Key Summary

  • Post-Processing: Works on top of the rendered image.
  • Exclusive: Enabling FXAA disables MSAA and TAA.
  • Global Control: Controlled via redGPUContext.