diff --git a/pandatool/src/maya/mayaShader.cxx b/pandatool/src/maya/mayaShader.cxx index 48c7231a53..7391c4ae85 100644 --- a/pandatool/src/maya/mayaShader.cxx +++ b/pandatool/src/maya/mayaShader.cxx @@ -84,6 +84,10 @@ set_attributes(EggPrimitive &primitive, MayaFile &file) { tex.set_wrap_u(_wrap_u ? EggTexture::WM_repeat : EggTexture::WM_clamp); tex.set_wrap_v(_wrap_v ? EggTexture::WM_repeat : EggTexture::WM_clamp); + // Let's mipmap all textures by default. + tex.set_minfilter(EggTexture::FT_linear_mipmap_linear); + tex.set_magfilter(EggTexture::FT_linear); + LMatrix3d mat = compute_texture_matrix(); if (!mat.almost_equal(LMatrix3d::ident_mat())) { tex.set_transform(mat);