Fix precision issue which can cause visual artifacts in lowres
This commit is contained in:
parent
4e970621ae
commit
ec5ca244fd
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue