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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user