fix vanilla fade order
This commit is contained in:
+1
-1
Submodule coreSubProjects updated: dea3557546...10208d4dfa
+2
-2
@@ -65,12 +65,12 @@ public class MixinChunkSectionsToRender
|
|||||||
|
|
||||||
if (chunkSectionLayerGroup == ChunkSectionLayerGroup.TRANSLUCENT)
|
if (chunkSectionLayerGroup == ChunkSectionLayerGroup.TRANSLUCENT)
|
||||||
{
|
{
|
||||||
ClientApi.INSTANCE.renderFadeTransparent();
|
ClientApi.INSTANCE.renderFadeOpaque();
|
||||||
ClientApi.INSTANCE.renderDeferredLodsForShaders();
|
ClientApi.INSTANCE.renderDeferredLodsForShaders();
|
||||||
}
|
}
|
||||||
else if (chunkSectionLayerGroup == ChunkSectionLayerGroup.TRIPWIRE)
|
else if (chunkSectionLayerGroup == ChunkSectionLayerGroup.TRIPWIRE)
|
||||||
{
|
{
|
||||||
ClientApi.INSTANCE.renderFadeOpaque();
|
ClientApi.INSTANCE.renderFadeTransparent();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ public class NeoforgeClientProxy implements AbstractModInitializer.IEventProxy
|
|||||||
ClientApi.RENDER_STATE.clientLevelWrapper = ClientLevelWrapper.getWrapperIfDifferent(ClientApi.RENDER_STATE.clientLevelWrapper, event.getLevelRenderer().level);
|
ClientApi.RENDER_STATE.clientLevelWrapper = ClientLevelWrapper.getWrapperIfDifferent(ClientApi.RENDER_STATE.clientLevelWrapper, event.getLevelRenderer().level);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ClientApi.INSTANCE.renderFadeTransparent();
|
ClientApi.INSTANCE.renderFadeOpaque();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -267,7 +267,7 @@ public class NeoforgeClientProxy implements AbstractModInitializer.IEventProxy
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ClientApi.INSTANCE.renderFadeOpaque();
|
ClientApi.INSTANCE.renderFadeTransparent();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user