From 5beeda31923135ca8571f4687ca1e560348a6c18 Mon Sep 17 00:00:00 2001 From: poosmacker <103903987+PooSmacker@users.noreply.github.com> Date: Thu, 21 May 2026 22:44:12 +0100 Subject: [PATCH] path block fix --- .../java/me/cortex/voxy/client/core/model/ModelFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/cortex/voxy/client/core/model/ModelFactory.java b/src/main/java/me/cortex/voxy/client/core/model/ModelFactory.java index c71ddcad0..c19c4234d 100644 --- a/src/main/java/me/cortex/voxy/client/core/model/ModelFactory.java +++ b/src/main/java/me/cortex/voxy/client/core/model/ModelFactory.java @@ -560,7 +560,7 @@ private ModelBakeResultUpload processTextureBakeResult(int blockId, BlockState b occludesFace &= offset < 0.1;//If the face is rendered far away from the other face, then it doesnt occlude if (occludesFace) { - occludesFace &= ((float)writeCount)/(MODEL_TEXTURE_SIZE * MODEL_TEXTURE_SIZE) > 0.9;// only occlude if the face covers more than 90% of the face + occludesFace &= faceCoversFullBlock && ((float)writeCount)/(MODEL_TEXTURE_SIZE * MODEL_TEXTURE_SIZE) > 0.9; } metadata |= occludesFace?1:0; fullyOpaque &= occludesFace;