attempt fix filtering???

This commit is contained in:
RandomityGuy 2022-12-17 20:42:17 +05:30
parent 5e613d18a2
commit 3878dc946d

View file

@ -263,7 +263,8 @@ class ResourceLoader {
texObj.flags.set(MipMapped);
}
var tex = img.toTexture();
tex.mipMap = Nearest;
tex.mipMap = Linear;
tex.filter = Linear;
// tex.filter = Nearest;
var textureresource = new Resource(tex, path, textureCache, tex -> tex.dispose());
textureCache.set(path, textureresource);