ITextSceneNode Issues Produces Darkened Screen.
Posted: Mon Aug 14, 2006 5:07 pm
Its easier to screenshot my issue than explain. I'm using Irrlicht 1.0 (1.1 has giving me offet models and stuff, will upgrade later)
Scene without the ITextSceneNode:
Scene with the ITextSceneNode:
Example Code I have tried with no success:
With varying fonts to no avail. What am I doing wrong?
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 );