File: FXAAPass.md | Updated: 11/15/2025
A pass for applying FXAA.
const fxaaPass = new FXAAPass();
composer.addPass( fxaaPass );
FXAAPass is an addon, and must be imported explicitly, see Installation#Addons.
import { FXAAPass } from 'three/addons/postprocessing/FXAAPass.js';
Constructs a new FXAA pass.
Sets the size of the pass.
width | The width to set.
---|---
height | The height to set.
Overrides: ShaderPass#setSize