Builtin Library
- ..
- README.md454 B
- bindings.yaml199 B
- shader.wgsl3.2 KB
README.md
gradient_deband
Breaks up the flat steps a smooth gradient shows at 8 bits, by dithering with a noise small enough not to read as grain. It reads and writes the scene's linear light, so threshold and grain — given in eight-bit code values — are read as that many 255ths of it.
Bindings
| name | kind |
|---|---|
scene_color | texture2d |
deband_params | buffer, read vec4<f32> |
deband_out | storage2d (rgba16f) |