Fixed 'invisible tree' bug (which was caused by the textures having u/v-wrap defined).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4113 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -138,8 +138,6 @@ void Material::setMaterialProperties(video::SMaterial *m) const
|
||||
m->MaterialType = video::EMT_SPHERE_MAP;
|
||||
else if(m_alpha_blending)
|
||||
m->MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL;
|
||||
if(m_clamp_tex)
|
||||
m->setFlag(video::EMF_TEXTURE_WRAP, video::ETC_CLAMP);
|
||||
|
||||
// FIXME: more parameters need to be set!
|
||||
} // setMaterialProperties
|
||||
|
||||
Reference in New Issue
Block a user