Code: Select all
mGUIRenderer = new CEGUI::OgreCEGUIRenderer( mWindow, Ogre::RENDER_QUEUE_OVERLAY, false, 3000, mGuiSceneMgr );
The third bool parameter was telling whether CEGUI should be drawn after render queue (on top of Ogre's overlays) or before render queue (below Ogre's overlays).
I have problem because I have fade in/out effect based on Ogre's overlays. After switching to new CEGUI all my screen is fading to black, but CEGUI elements like buttons, images etc. are staying always visible.
Is there any way to tell the CEGUI::OgreRenderer to be drawn below Ogre's overlays?
Currently my renderer setup looks like this:
Code: Select all
mGUIRenderer = &CEGUI::OgreRenderer::bootstrapSystem();
Or should I call some "render" function on CEGUI by myself?
Edit:
I used code from this post, removed not needed (for me) functionality and it worked .