Files
rdhandembeddedt 671ecaffc3 Translucency sorting v3 (#42)
This PR adds a more efficient and better-looking algorithm for translucency sorting than the old distance-sorting approach, which was both slow (since it ran all the time) and occasionally incorrect (cause distance is measured to the middle of a quad, so a large quad can count as "farther" than a small one it is actually in front of).

The algorithms here are implemented from Douira's master's thesis, [Implementation and Analysis of Geometric Algorithms for Translucency Sorting in Minecraft](https://douira.dev/assets/document/douira-master-thesis.pdf). This implementation is based solely on the algorithms described in the paper, and no code is taken from the two (non-FOSS) Sodium PRs mentioned in it. AI was used to help write local tests and catch bugs, but design decisions and code were all made by me.

Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
Reviewed-on: embeddedt/celeritas#42
Co-authored-by: rdh <me@rdh540.dev>
2026-09-16 11:25:41 -04:00
..
2026-09-16 11:25:41 -04:00
2026-09-11 13:38:32 -04:00
2026-09-11 13:38:32 -04:00