mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
attempt fix filtering???
This commit is contained in:
parent
5e613d18a2
commit
3878dc946d
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue