Scene without the ITextSceneNode:
Scene with the ITextSceneNode:
Example Code I have tried with no success:
Code: Select all
m_PlayerText = CGame::Instance()->smgr->addTextSceneNode( CGame::Instance()->GetFont(), ms_PlayerName, video::SColor(0, 0, 255, 0 ) );
m_PlayerText = CGame::Instance()->smgr->addTextSceneNode( CGame::Instance()->GetFont(), ms_PlayerName, video::SColor(255, 0, 255, 0 ) );
m_PlayerText = CGame::Instance()->smgr->addTextSceneNode( CGame::Instance()->GetFont(), ms_PlayerName, video::SColor(0, 0, 255, 0 ) );
m_PlayerText->setMaterialFlag(EMF_LIGHTING, false );
m_PlayerText = CGame::Instance()->smgr->addTextSceneNode( CGame::Instance()->GetFont(), ms_PlayerName, video::SColor(255, 0, 255, 0 ) );
m_PlayerText->setMaterialFlag(EMF_LIGHTING, false );