From 5939d811380fcdeea4b59ffa881517025bb382aa Mon Sep 17 00:00:00 2001 From: jamesgk Date: Thu, 27 Jul 2017 15:18:35 -0700 Subject: [PATCH] glTF2: Use better mipmap filter defaults --- code/glTF2Exporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/glTF2Exporter.cpp b/code/glTF2Exporter.cpp index 97b60a604..b6a2efdd0 100644 --- a/code/glTF2Exporter.cpp +++ b/code/glTF2Exporter.cpp @@ -283,7 +283,7 @@ void glTF2Exporter::GetTexSampler(const aiMaterial* mat, Ref texture) // Hard coded Texture filtering options because I do not know where to find them in the aiMaterial. texture->sampler->magFilter = SamplerMagFilter_Linear; - texture->sampler->minFilter = SamplerMinFilter_Linear; + texture->sampler->minFilter = SamplerMinFilter_Linear_Mipmap_Linear; } void glTF2Exporter::GetMatTex(const aiMaterial* mat, Ref& texture, aiTextureType tt)