Team Identifiers(Needs adding hatOffsets to kart models)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/soccer@13176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
d16a5a0552
commit
085080e95e
@ -4,5 +4,7 @@
|
|||||||
<material name="speedback.png" compositing="test" clampU="Y" clampV="Y" light="N" ignore="Y"/>
|
<material name="speedback.png" compositing="test" clampU="Y" clampV="Y" light="N" ignore="Y"/>
|
||||||
<material name="speedfore.png" compositing="test" clampU="Y" clampV="Y" light="N" ignore="Y"/>
|
<material name="speedfore.png" compositing="test" clampU="Y" clampV="Y" light="N" ignore="Y"/>
|
||||||
<material name="notes.png" compositing="test" light="N" ignore="Y"/>
|
<material name="notes.png" compositing="test" light="N" ignore="Y"/>
|
||||||
|
<material name="soccer_player_red.png" compositing="blend" light="N" ignore="Y"/>
|
||||||
|
<material name="soccer_player_blue.png" compositing="blend" light="N" ignore="Y"/>
|
||||||
|
|
||||||
</materials>
|
</materials>
|
@ -850,12 +850,14 @@ PerCameraNode *IrrDriver::addPerCameraMesh(scene::IMesh* mesh,
|
|||||||
*/
|
*/
|
||||||
scene::ISceneNode *IrrDriver::addBillboard(const core::dimension2d< f32 > size,
|
scene::ISceneNode *IrrDriver::addBillboard(const core::dimension2d< f32 > size,
|
||||||
video::ITexture *texture,
|
video::ITexture *texture,
|
||||||
scene::ISceneNode* parent)
|
scene::ISceneNode* parent, bool alphaTesting)
|
||||||
{
|
{
|
||||||
scene::IBillboardSceneNode* node =
|
scene::IBillboardSceneNode* node =
|
||||||
m_scene_manager->addBillboardSceneNode(parent, size);
|
m_scene_manager->addBillboardSceneNode(parent, size);
|
||||||
assert(node->getMaterialCount() > 0);
|
assert(node->getMaterialCount() > 0);
|
||||||
node->setMaterialTexture(0, texture);
|
node->setMaterialTexture(0, texture);
|
||||||
|
if(alphaTesting)
|
||||||
|
node->setMaterialType(video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF);
|
||||||
return node;
|
return node;
|
||||||
} // addMesh
|
} // addMesh
|
||||||
|
|
||||||
|
@ -159,7 +159,7 @@ public:
|
|||||||
scene::ISceneNode *parent = NULL);
|
scene::ISceneNode *parent = NULL);
|
||||||
scene::ISceneNode *addBillboard(const core::dimension2d< f32 > size,
|
scene::ISceneNode *addBillboard(const core::dimension2d< f32 > size,
|
||||||
video::ITexture *texture,
|
video::ITexture *texture,
|
||||||
scene::ISceneNode* parent=NULL);
|
scene::ISceneNode* parent=NULL, bool alphaTesting);
|
||||||
|
|
||||||
scene::IParticleSystemSceneNode
|
scene::IParticleSystemSceneNode
|
||||||
*addParticleNode(bool default_emitter=true);
|
*addParticleNode(bool default_emitter=true);
|
||||||
|
Loading…
Reference in New Issue
Block a user