mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
The geometry gate reads the Size and the Choke, not the measured Distance 0, so an Anti-aliased Inner Shadow at Distance 5 runs on the sub-pixel source path with no pin on either compositor. Add it: the source shift stage carries the whole-pixel light offset plus the third of a pixel, exactly as `shadow_map` shifts by `dx + aa`; the Choke 50 % program at that Distance stays the flag-off program, distance-field stage included; and the GPU-vs-CPU parity check now covers both rows on the whole-texture and the paged compositor. The Distance rows sit inside the two tests that were red before the gate; on their own they pin that the gate leaves a shifted light offset alone, so they would be green either way.