mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-18 20:15:56 +00:00
On the border the clamped neighbour is the pixel itself, so the nearer-in-depth pick took a zero difference and normalize() returned NaN; `lit <= 0.0` is false for NaN, so whether those pixels were marched and what they wrote depended on how the driver clamps NaN. The border now uses the side inside the image, and a NaN gate skips the march. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>