Removed previous attempt, since irr docs clearly say 'This flag is ignored, if the material type is a transparent type.' (i.e. they're making it official that their support for alpha textures is crappy -.-)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2010-02-22 20:29:17 +00:00
parent da45ef4721
commit 77d2032682

View File

@@ -139,7 +139,6 @@ void Material::setMaterialProperties(video::SMaterial *m) const
}
else if (m_alpha_blending)
{
m->ZWriteEnable = false; // for transluscent stuff, don't write to the Z buffer
m->MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL;
}
else if (m_sphere_map)