Attempt at smoothing GUI icons when scaled down. Doesn't appear to change much.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
7bf9bf353c
commit
0438696ac6
@ -231,12 +231,12 @@ void IrrDriver::initDevice()
|
||||
material2D.setFlag(video::EMF_ANTI_ALIASING, true);
|
||||
for (unsigned int n=0; n<MATERIAL_MAX_TEXTURES; n++)
|
||||
{
|
||||
material2D.TextureLayer[n].BilinearFilter = true;
|
||||
material2D.TextureLayer[n].TrilinearFilter = true;
|
||||
//material2D.TextureLayer[n].TextureWrap = ETC_CLAMP_TO_EDGE;
|
||||
material2D.TextureLayer[n].TextureWrapU = ETC_CLAMP_TO_EDGE;
|
||||
material2D.TextureLayer[n].TextureWrapV = ETC_CLAMP_TO_EDGE;
|
||||
|
||||
material2D.TextureLayer[n].LODBias = 8;
|
||||
//material2D.TextureLayer[n].LODBias = 8;
|
||||
}
|
||||
material2D.AntiAliasing=video::EAAM_FULL_BASIC;
|
||||
//m_video_driver->enableMaterial2D();
|
||||
|
Loading…
Reference in New Issue
Block a user