Fix box sphere mapping in the cyan part and add water particle.
The water particle is not final, but at least this stops abusing other file. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -36,7 +36,7 @@ WaterSplash::WaterSplash(Kart* kart) : m_kart(kart), m_particle_size(0.33f)
|
||||
m_node->setPosition(core::vector3df(-m_kart->getKartWidth()*0.35f,
|
||||
m_particle_size*0.25f,
|
||||
-m_kart->getKartLength()*0.5f));
|
||||
Material *m= material_manager->getMaterial("water_light.png");
|
||||
Material *m= material_manager->getMaterial("water-splash.png");
|
||||
m->setMaterialProperties(&(m_node->getMaterial(0)));
|
||||
m_node->setMaterialTexture(0, m->getTexture());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user