Partially fix LodNode rendering

This commit is contained in:
James Seibel
2021-08-05 07:56:00 -05:00
parent 73e318ee38
commit 781aa339bc
5 changed files with 22 additions and 25 deletions
@@ -225,7 +225,7 @@ public class LodNodeRenderer
farPlaneDistance = renderDistWidth * LodQuadTreeNode.CHUNK_WIDTH;
// set how big the LODs will be and how far they will go
int totalLength = (int) farPlaneDistance * LodConfig.CLIENT.lodChunkRadiusMultiplier.get() * 10;
int totalLength = (int) farPlaneDistance * LodConfig.CLIENT.lodChunkRadiusMultiplier.get() * 2;
int numbChunksWide = (totalLength / LodQuadTreeNode.CHUNK_WIDTH);
// determine which LODs should not be rendered close to the player