- Home /
Rendering a camera view on top of the GUI
Hello,
Is it possible to render a view window on top of the GUI. No matter what I do, the GUI items always appear on top of any view I render (in my project, there are multiple cameras rendered on the screen).
Further explanation:
I have two cameras and I render their views at the same time. I re-size the 2nd cameras view port rectangle and try to render it on top of the GUI i have. Think of it as the map window on the corner of the screen in RPG games.. So this second window is always stays hidden behind the HUD. How do I succeed to render this view on top of my HUD, so that it wont be obstructed ?
Thanks
To clarify, you're trying to control the rendering order of items in the GUI layer correct? The question isn't regarding how to get the camera to render into a texture (which is documented elsewhere.)
No, the question is not about rendering order among gui items. For example say that you have a big HUD on the screen made of a one piece texture, and you want to have a view window ( view from one of the cameras in the scene )on top of that HUD. How do you do that ?
Answer by yigitcan · Feb 16, 2012 at 08:27 AM
Here is the answer I found:
http://answers.unity3d.com/questions/30230/rendering-a-camera-in-front-of-a-gui-element.html
Your answer
Follow this Question
Related Questions
gui refresh render 1 Answer
Apply Render Texture To GUI + Transparency? 2 Answers
rendering on top of other things 0 Answers
GUI Text Not Rendering - Solved 1 Answer