From 547d54aab1f31e77bed4770f1631c669b2ff419b Mon Sep 17 00:00:00 2001 From: Leonardo Date: Sun, 22 Aug 2021 16:54:09 +0200 Subject: [PATCH] Fixed the near clipping --- src/main/java/com/seibel/lod/render/LodRenderer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/seibel/lod/render/LodRenderer.java b/src/main/java/com/seibel/lod/render/LodRenderer.java index 8432841dc..c877fcbee 100644 --- a/src/main/java/com/seibel/lod/render/LodRenderer.java +++ b/src/main/java/com/seibel/lod/render/LodRenderer.java @@ -573,8 +573,8 @@ public class LodRenderer // it is possible to see the near clip plane, but // you have to be flying quickly in spectator mode through ungenerated // terrain, so I don't think it is much of an issue. - LodConfig.CLIENT.lodChunkRenderDistance.get() / mc.options.renderDistance, - mc.options.renderDistance * LodUtil.CHUNK_WIDTH * 2); + mc.options.renderDistance, + farPlaneBlockDistance * LodUtil.CHUNK_WIDTH * 2); // add the screen space distortions projectionMatrix.multiply(matrixStack.last().pose());