I need a scenenode to render after the skybox but before the other scenenodes and one to render after the other scenenodes but before the GUI and HUD.
I have been trying to use "scene.registerNodeForRendering(node, ESNRP_SKY_BOX)" but the node just draws with the other nodes.
Could I be setting up this command wrong or is this the wrong method for what I need?
Thank you.
Need scenenode to render when I need.
you need to turn z-write off as well as rendering first if you want your node to be behind all others.
for drawing last, you'll need to draw your node manually with the z-buffer (z-read) disabled
see smaterial reference for z-buffer read/write flags:
http://irrlicht.sourceforge.net/docu/_s ... al_8h.html
for drawing last, you'll need to draw your node manually with the z-buffer (z-read) disabled
see smaterial reference for z-buffer read/write flags:
http://irrlicht.sourceforge.net/docu/_s ... al_8h.html