Fix using the wrong near clip plane

This commit is contained in:
James Seibel
2024-02-10 21:58:20 -06:00
parent b4269afc9f
commit 97e7f05636
@@ -147,7 +147,7 @@ public class RenderUtil
{
// in James' testing a near clip plane distance of 2 blocks is enough to allow the fragment
// culling to take effect instead of seeing the near clip plane.
float nearClipDist = 2f; //MC_RENDER.getRenderDistance() * LodUtil.CHUNK_WIDTH / 4.0f; //getNearClipPlaneDistanceInBlocks(partialTicks);
float nearClipDist = RenderUtil.getNearClipPlaneDistanceInBlocks(partialTicks);
if (Config.Client.Advanced.Debugging.lodOnlyMode.get())
{
nearClipDist = 0.1f;