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
Greenskin
Posts: 102
Joined: Thu Jun 10, 2004 4:19 am
Contact:

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

Post by Nickak2003 » Mon Jun 11, 2018 8:53 pm

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.
0 x

Post Reply