My first attempt is to just set the background color fully transparant (alpha=0). However, it will just show the color value of the background color, even though it's fully transparant (white, in case of the attached screenshot)
Code: Select all
Ogre::ColourValue backgroundColor(1, 1, 1, 0);
Ogre::Viewport* viewPort = m_ogreWindow->addViewport( m_camera );
viewPort->setBackgroundColour(backgroundColor);;
viewPort->setClearEveryFrame(true);
viewPort->setOverlaysEnabled(false);
viewPort->setSkiesEnabled(false);