ortho-view and z-order, render_queue seems to not work

Problems building or running the engine, queries about how to use features etc.
Post Reply
Nickak2003
Goblin
Posts: 272
Joined: Thu Jun 10, 2004 4:19 am
x 26

ortho-view and z-order, render_queue seems to not work

Post by Nickak2003 »

Ogre1.11;
I have my gui working normally, with its render queue set to overlay. When i change the camera to ortho, I cant seem to prevent it from being on the bottom. Here's the gui geo code:

Code: Select all

	Ogre::ManualObject* geo = pSceneMgr->createManualObject(geoName);
	geo->setUseIdentityProjection(true);
	geo->setUseIdentityView(true);
	geo->setDynamic(true);

	// Render just before overlays
	geo->setRenderQueueGroup(Ogre::RENDER_QUEUE_OVERLAY);
it works with normal camera, but once I try ortho, other meshes appear on-top.
Post Reply