I have created a Vufoia AR App with a NGUI graphic user interface. Everthing works great together except when I have a pop up window in the GUI. The AR elements can be viewed on top of it. How do I make the GUI in front insted of the AR?
Do the windows render over the augmentation if they are visible initially - i.e. they're not popped-up after the scene is loaded? I'm not so familiar w/ NGUI, but I assume that the objects aren't rendered as standard Unity GUI elements, which have their own orthographic layer.
You may be able to control this by setting them to a lower renderQueue value.
Do the windows render over the augmentation if they are visible initially - i.e. they're not popped-up after the scene is loaded? I'm not so familiar w/ NGUI, but I assume that the objects aren't rendered as standard Unity GUI elements, which have their own orthographic layer.
You may be able to control this by setting them to a lower renderQueue value.
See: http://wiki.unity3d.com/index.php?title=SetRenderQueue
http://answers.unity3d.com/questions/8220/rendering-order.html
http://docs.unity3d.com/Documentation/ScriptReference/Material-renderQueue.html
* this may be a good question for Unity Answers as well. You'll find more devs familiar w/ NGUI.