Parcourir la source

default mipmap filter to linear instead of nearest

Nicolas Cannasse il y a 4 ans
Parent
commit
98bbe012cc
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      h3d/mat/Texture.hx

+ 1 - 1
h3d/mat/Texture.hx

@@ -102,7 +102,7 @@ class Texture {
 
 		this.width = w;
 		this.height = h;
-		this.mipMap = this.flags.has(MipMapped) ? Nearest : None;
+		this.mipMap = this.flags.has(MipMapped) ? Linear : None;
 		this.filter = Linear;
 		this.wrap = Clamp;
 		bits &= 0x7FFF;