Fix precision issue which can cause visual artifacts in lowres

This commit is contained in:
Lukas Rieger (Blue) 2023-03-07 16:42:07 +01:00
parent 4e970621ae
commit ec5ca244fd
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ public class ResourceModelBuilder {
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());