Builtin Library
- ..
- README.md510 B
- bindings.yaml195 B
- shader.wgsl6.6 KB
README.md
fxaa_pass
Fast approximate anti-aliasing. Finds an edge from the luminance of a pixel and its neighbours, walks along that edge until the contrast ends, and blends across it by how far off-centre the pixel sits.
Bindings
| name | kind | what it is |
|---|---|---|
scene_color | texture2d | the image to smooth |
fxaa_params | buffer (read, vec4) | edge threshold, minimum threshold, sub-pixel blend, search steps |
fxaa_out | storage2d (rgba16f) | the smoothed image |