From 808e35a4afdd55d611ccb950951192b434c46b65 Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Sat, 17 Dec 2022 20:42:17 +0530 Subject: [PATCH] attempt fix filtering??? --- src/ResourceLoader.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ResourceLoader.hx b/src/ResourceLoader.hx index 378d485c..22ab88c9 100644 --- a/src/ResourceLoader.hx +++ b/src/ResourceLoader.hx @@ -312,7 +312,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);