diff options
| author | Adam Malczewski <[email protected]> | 2026-06-14 13:34:04 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-14 13:34:04 +0900 |
| commit | 4e0b07cecd1dc5cbd4fcabe05cbcfc897ce6dc43 (patch) | |
| tree | e33ab068f9c6840a0dc180de676d961d0110840a /packages/kernel/src/server.cpp | |
| parent | 18bcca4f820aca68c6f50c4d59b66d73f0d0970d (diff) | |
| download | unbox-4e0b07cecd1dc5cbd4fcabe05cbcfc897ce6dc43.tar.gz unbox-4e0b07cecd1dc5cbd4fcabe05cbcfc897ce6dc43.zip | |
kernel: dither gradient shader to kill 8-bit banding (TPDF ~1 LSB)
The shader-based gradient (linear/radial) fragment shader now adds a
mean-zero triangular-PDF dither (~1 LSB of 8-bit) from a spatial pixel-position
hash before writing finalColor, so smooth ramps (e.g. an alpha fade) no longer
show quantization banding when written to the 8-bit surface buffer. Spatial,
non-temporal — no shimmer on static panels. Applies to every shader gradient.
Diffstat (limited to 'packages/kernel/src/server.cpp')
0 files changed, 0 insertions, 0 deletions
