FXAA
Fast Approximate Anti-Aliasing - a cheap, single-pass alternative to SMAA with lower visual quality but better performance.
import { FXAA } from '@react-three/postprocessing'
import { BlendFunction } from 'postprocessing'
return (
<FXAA
blendFunction={BlendFunction.SRC} // the blend function of this effect
minEdgeThreshold={0.0312} // the minimum edge detection threshold
maxEdgeThreshold={0.125} // the maximum edge detection threshold
subpixelQuality={0.75} // the subpixel blend quality
samples={12} // the maximum amount of edge detection samples
/>
)