mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 10:35:16 +01:00
Fix precision issue which can cause visual artifacts in lowres
This commit is contained in:
parent
4e970621ae
commit
ec5ca244fd
@ -326,7 +326,7 @@ private void createElementFace(Element element, Direction faceDir, VectorM3f c0,
|
||||
makeRotationRelative(faceRotationVector);
|
||||
|
||||
float a = faceRotationVector.y;
|
||||
if (a > 0 && texturePath != null){
|
||||
if (a > 0.01 && texturePath != null) {
|
||||
Texture texture = texturePath.getResource(resourcePack::getTexture);
|
||||
if (texture != null) {
|
||||
mapColor.set(texture.getColorPremultiplied());
|
||||
|
Loading…
Reference in New Issue
Block a user