mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-25 14:44:28 +00:00
Replace translucency sorting toggle with an Off/Fast/Fancy setting
This commit is contained in:
14 files changed
+113
-43
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
+1
-1
@@ -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++) {
|
||||
|
||||
Reference in new issue
Block a user