diff --git a/src/main/java/me/cortex/voxy/client/core/rendering/building/RenderGenerationService.java b/src/main/java/me/cortex/voxy/client/core/rendering/building/RenderGenerationService.java index 83686fb3..04fe24d1 100644 --- a/src/main/java/me/cortex/voxy/client/core/rendering/building/RenderGenerationService.java +++ b/src/main/java/me/cortex/voxy/client/core/rendering/building/RenderGenerationService.java @@ -45,7 +45,7 @@ public class RenderGenerationService { int unique = COUNTER.incrementAndGet(); int lvl = WorldEngine.MAX_LOD_LAYER-WorldEngine.getLevel(this.position); lvl = Math.min(lvl, 3);//Make the 2 highest quality have equal priority - this.priority = (((lvl*3L + this.attempts)*2 + this.addin) <<32) + Integer.toUnsignedLong(unique); + this.priority = (((lvl*3L + Math.min(this.attempts, 4))*2 + this.addin) <<32) + Integer.toUnsignedLong(unique); this.addin = 0; } } @@ -216,7 +216,7 @@ public class RenderGenerationService { task.hasDoneModelRequestOuter = true; } - task.addin = 3;//Single time addin which gives the models time to bake before the task executes + task.addin = WorldEngine.getLevel(task.position)>2?3:0;//Single time addin which gives the models time to bake before the task executes } //Keep the lock on the section, and attach it to the task, this prevents needing to re-aquire it later