debanding.package
- ..
- README.md682 B
- bindings.yaml199 B
- shader.wgsl2.7 KB
This package holds more than this page lists. See all of its files in its world.
README.md
gradient_deband
Rebuilds the ramp a staircase of code values stands for: rings of taps around
each pixel are averaged wherever they sit inside one shelf, so the pixel takes
the value between the codes that the fraction of its neighbours across the
boundary states. It reads and writes the display's code values in float, so
threshold (given in eight-bit code values) is read as that many 255ths of
them, and the rebuilt values stand between the codes until the output stage's
dither rounds them to the surface.
Bindings
| name | kind |
|---|---|
scene_color | texture2d |
deband_params | buffer, read vec4<f32> |
deband_out | storage2d (rgba16f) |