Activated anisotropic filtering. For now it's on everywhere and not selectively, which is perhaps not what we want, but it makes textures on the ground much crisper and eliminates blurring at a distance on the ground

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2010-02-27 15:54:27 +00:00
parent 5a32323c61
commit 2efd3bb475

View File

@@ -159,6 +159,9 @@ void Material::setMaterialProperties(video::SMaterial *m) const
m->SpecularColor = video::SColor(255, 255, 255, 255);
}
//FIXME: only set on textures viewed at oblique angles, to avoid slowing down the game with this everywhere
m->setFlag(video::EMF_ANISOTROPIC_FILTER, true);
#if (IRRLICHT_VERSION_MAJOR == 1) && (IRRLICHT_VERSION_MINOR >= 7)
if ( (m_clamp_tex & UCLAMP) != 0)