Skip to content

Commit ec5ca24

Browse files
committed
Fix precision issue which can cause visual artifacts in lowres
1 parent 4e97062 commit ec5ca24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BlueMapCore/src/main/java/de/bluecolored/bluemap/core/map/hires/blockmodel/ResourceModelBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ private void createElementFace(Element element, Direction faceDir, VectorM3f c0,
326326
makeRotationRelative(faceRotationVector);
327327

328328
float a = faceRotationVector.y;
329-
if (a > 0 && texturePath != null){
329+
if (a > 0.01 && texturePath != null) {
330330
Texture texture = texturePath.getResource(resourcePack::getTexture);
331331
if (texture != null) {
332332
mapColor.set(texture.getColorPremultiplied());

0 commit comments

Comments
 (0)