Skip to main content

Module fxaa

Module fxaa 

Source
Expand description

FXAA 3.11 — Fast Approximate Anti-Aliasing.

Single post-processing pass after all other effects. Detects high-contrast edges and applies directional blur along the edge, smoothing glyph edges without blurring interiors.

§Quality levels

  • Low: 5 edge search steps — fast, adequate for most cases
  • Medium: 8 edge search steps — good balance (default)
  • High: 12 edge search steps — best quality, slight cost

§When to disable

  • CRT scanline mode (scanlines + FXAA conflict)
  • Player preference for crisp pixels

Structs§

FxaaParams
Configuration for the FXAA pass.
FxaaStats
Per-frame FXAA statistics.

Enums§

FxaaQuality
FXAA quality preset.

Constants§

FXAA_FRAG
FXAA fragment shader implementing Timothy Lottes’ FXAA 3.11 algorithm.