Replace translucency sorting toggle with an Off/Fast/Fancy setting

This commit is contained in:
Ruling-0 committed 2026-11-08 12:15:35 -06:00
1 parent 299e9d835d
commit 3980599f7e
14 files changed
+113 -43

No files matched your search

@@ -80,7 +80,7 @@ public class AngelicaRenderPassConfiguration {
TRANSLUCENT_PASS = builderForRenderType(1, false, translucentCutoff, vertexType)
.name("translucent")
.useReverseOrder(true)
.useTranslucencySorting(ClientProxy.options().performance.translucencySorting)
.useTranslucencySorting(ClientProxy.options().performance.translucencyMode.sorts())
.build();
TRANSLUCENT_MATERIAL = new Material(TRANSLUCENT_PASS, translucentCutoff, true);
@@ -504,7 +504,7 @@ public class CeleritasWorldRenderer extends SimpleWorldRenderer<WorldClient, Ang
this.teTransform = null;
if (Tracy.ENABLED) Tracy.beginZone(Z_TESR_DISPATCH);
try {
if (ClientProxy.options().performance.translucencySorting) {
if (ClientProxy.options().performance.translucencyMode.sorts()) {
depthOrder.sortBackToFront(frameTEs, teCamX, teCamY, teCamZ);
}
for (int i = 0; i < frameTEs.size(); i++) {