aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/lodmod/renderer
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2021-06-20 00:02:03 +0200
committermakamys <makamys@outlook.com>2021-06-20 00:02:03 +0200
commitbecf56c8c73b05d0ed8df3b448e478f65eb5b820 (patch)
tree45d4b284e5a4781c9c80799742cf14ebba13ce05 /src/main/java/makamys/lodmod/renderer
parent255bdd5dbfb2bed25a8b08df013d49524d564162 (diff)
downloadNeodymium-becf56c8c73b05d0ed8df3b448e478f65eb5b820.tar.gz
Neodymium-becf56c8c73b05d0ed8df3b448e478f65eb5b820.tar.bz2
Neodymium-becf56c8c73b05d0ed8df3b448e478f65eb5b820.zip
Add farPlaneDistanceMultiplier to config
Diffstat (limited to 'src/main/java/makamys/lodmod/renderer')
-rw-r--r--src/main/java/makamys/lodmod/renderer/LODRenderer.java4
1 files changed, 2 insertions, 2 deletions
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) {