From becf56c8c73b05d0ed8df3b448e478f65eb5b820 Mon Sep 17 00:00:00 2001 From: makamys Date: Sun, 20 Jun 2021 00:02:03 +0200 Subject: Add farPlaneDistanceMultiplier to config --- src/main/java/makamys/lodmod/renderer/LODRenderer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/makamys/lodmod/renderer') diff --git a/src/main/java/makamys/lodmod/renderer/LODRenderer.java b/src/main/java/makamys/lodmod/renderer/LODRenderer.java index e3cb045..6f4f6af 100644 --- a/src/main/java/makamys/lodmod/renderer/LODRenderer.java +++ b/src/main/java/makamys/lodmod/renderer/LODRenderer.java @@ -209,8 +209,8 @@ public class LODRenderer { } } - public int getFarPlaneDistanceMultiplier() { - return renderRange / 12; + public float getFarPlaneDistanceMultiplier() { + return renderRange / 12 * (float)LODMod.farPlaneDistanceMultiplier; } public void afterSetupFog(int mode, float alpha, float farPlaneDistance) { -- cgit