Alpha-test rule exists in five or more forms that disagree #1044

Open
opened 2026-10-25 03:56:05 +00:00 by sky_line · 1 comment
Owner

The alpha-test decision (cutoff, blend handling, mask vs blend) is implemented in 5+ places (raster, RT candidate tests, shadow walks, probes, forward) and they don't agree in every case, so a surface can be a hole in one path and solid in another.

Found by the #1039 design survey (copies of the same code that have drifted apart). The shared walk library planned as #1039 step M0 removes the duplicate.

The alpha-test decision (cutoff, blend handling, mask vs blend) is implemented in 5+ places (raster, RT candidate tests, shadow walks, probes, forward) and they don't agree in every case, so a surface can be a hole in one path and solid in another. Found by the #1039 design survey (copies of the same code that have drifted apart). The shared walk library planned as #1039 step M0 removes the duplicate.
sky_line added this to the Slipstream project 2026-10-25 03:56:05 +00:00
Author
Owner

Fixed in 1.5.0 Beta 1 (e5aeae32d8). Reopen if you still see it.

Fixed in 1.5.0 Beta 1 (e5aeae32d8). Reopen if you still see it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
sky_line/Slipstream#1044
No description provided.