Smarter translucency sorting #42

Merged
embeddedt merged 24 commits from rdh/celeritas:ts into stonecutter 2026-09-16 11:25:42 -04:00
Showing only changes of commit fd362d1b76 - Show all commits
@@ -126,6 +126,8 @@ public final class TranslucentSorter {
boolean allParallel = true;
for (int quadIdx = 0; quadIdx < quadCount; quadIdx++) {
if (quads.isDegenerate(quadIdx)) continue;
float dot = quads.normalDot(quadIdx, reference);
if (Math.abs(dot) < PARALLEL_THRESHOLD) {