Rendering OVER the GUI?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Asheh
Posts: 14
Joined: Tue Sep 14, 2004 7:27 pm

Rendering OVER the GUI?

Post by Asheh »

Im having trouble rendering over the gui buttons i have. I have rendered a mouse cursor (using the line rendering geo) and its rendered behind the gui which doesnt make any sense.

Also, How can I remove everything from the GUI environment?

Thanks.
Ash
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Post by Tyn »

Adjust the draw order. Drawing the scene after the GUI will render it over it.

guiEnv->drawAll()
smgr->drawAll()
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

Tyn - Faster then a speeding troller, Able to leap huge bugs in a single bound, Look up it's a bird it's a plane no it's SuperTyn! LoL
Post Reply