From 9c285c17a991b76966c278db1de7800a1c23653d Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 6 Sep 2025 11:39:44 -0500 Subject: [PATCH] lower unexplored fog slightly --- .../seibel/distanthorizons/core/render/LodRenderSection.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/seibel/distanthorizons/core/render/LodRenderSection.java b/core/src/main/java/com/seibel/distanthorizons/core/render/LodRenderSection.java index 6203cf64c..d8e24d1aa 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/render/LodRenderSection.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/render/LodRenderSection.java @@ -174,7 +174,7 @@ public class LodRenderSection implements IDebugRenderable, AutoCloseable // pseudo random height (should be consistent for a given position) int fogHeightRange = (int) ((this.level.getMaxY() - this.level.getMinY()) * 0.25); int halfFogHeightRange = fogHeightRange / 2; - float randomHeightModifier = (float) (DhSectionPos.hashCode(this.pos) % fogHeightRange) - halfFogHeightRange; + float randomHeightModifier = (float) (DhSectionPos.hashCode(this.pos) % halfFogHeightRange) - fogHeightRange; // pseudo random color (should be consistent for a given position) int randomColorModifier = (DhSectionPos.hashCode(this.pos) % 30) - 15; @@ -185,7 +185,7 @@ public class LodRenderSection implements IDebugRenderable, AutoCloseable return new DhApiRenderableBox( // min pos new DhApiVec3d(DhSectionPos.getMinCornerBlockX(this.pos), - 0, + this.level.getMinY(), DhSectionPos.getMinCornerBlockZ(this.pos)), // max pos new DhApiVec3d(DhSectionPos.getMinCornerBlockX(this.pos) + fogWidthInBlocks,