- Home /
Can you draw geometry over a GUITexture?
Is it possible to draw geometry over a GUITexture?
I put my GUILayer component on a camera at depth 0. Then I created another camera at depth 1, with clear flags set to "Depth Only" and the culling mask set to the geometry I want. However, the GUITexture that should be seen in the first camera (at depth 0) is invisible.
As soon as the second camera is disabled, the GUITexture become visible.
Basically, I'm trying to add a simple vignette over my scene, but I also want some geometry to be drawn above it. Is this possible?
Answer by arsalank2 · Dec 06, 2011 at 07:06 PM
Answer to this post may help you:
http://answers.unity3d.com/questions/9729/how-can-i-display-a-flat-background-2d-image-not-a.html
Your answer
Follow this Question
Related Questions
Editor Camera Perspective 1 Answer
To display GUI Texture only on main camera 1 Answer
Can I have a prefab appear on my screen like a gui texture does? 1 Answer
GUI Depth not working 1 Answer
Main Camera - Bad depth perception? 1 Answer