I'm trying to show some text in my 3D world but instead only a filled rectangle appears at the given position (filled with the color I'm passing to the function). Here's how I add the text scene node:
Code: Select all
gui::IGUIFont* font = m_pSceneManager->getGUIEnvironment()->getBuiltInFont();
SColor color( 255, 255, 255, 255 );
m_pSceneManager->addTextSceneNode( font, L"This is a test", color, someParent, somePosition );