summaryrefslogtreecommitdiffhomepage
path: root/packages/kernel/src/input.cpp
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-14 13:34:04 +0900
committerAdam Malczewski <[email protected]>2026-06-14 13:34:04 +0900
commit4e0b07cecd1dc5cbd4fcabe05cbcfc897ce6dc43 (patch)
treee33ab068f9c6840a0dc180de676d961d0110840a /packages/kernel/src/input.cpp
parent18bcca4f820aca68c6f50c4d59b66d73f0d0970d (diff)
downloadunbox-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/input.cpp')
0 files changed, 0 insertions, 0 deletions