disable z buffer writes on skidmarks

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2013-10-12 23:36:34 +00:00
parent dbe11ae681
commit 671f4d7441

View File

@ -48,6 +48,7 @@ SkidMarks::SkidMarks(const AbstractKart& kart, float width) : m_kart(kart)
//m_material->AmbientColor = video::SColor(255, 255, 255, 255);
//m_material->DiffuseColor = video::SColor(255, 255, 255, 255);
m_material->setFlag(video::EMF_ANISOTROPIC_FILTER, true);
m_material->setFlag(video::EMF_ZWRITE_ENABLE, false);
m_material->Shininess = 0;
m_material->TextureLayer[0].Texture = irr_driver->getTexture("skidmarks.png");
m_skid_marking = false;