FXAA (Fast Approximate AA)
FXAA is a post-processing (Post-Processing) antialiasing technique that analyzes the rendered image to find edges and smooth them.
1. Features & Pros
- Ultra-Fast: Very low computational cost, making it ideal for mobile devices and low-end hardware.
- Memory Efficient: Does not require additional buffers like MSAA.
- Cons: The entire screen may appear slightly blurry, which can reduce 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
Observe how FXAA handles not only geometry edges but also shimmering in textures and highlights.
Key Summary
- Post-Processing: Works on top of the rendered image.
- Exclusive: Enabling FXAA disables MSAA and TAA.
- Global Control: Controlled via
redGPUContext.