Anyway to make a GUITexture appear behind the 3D?
For example - I have a 2D background that doesnt change and the user can select 3D Scenes - a small rotating preview of the scene flys in when the click the navigation buttons.
Cheers
Shaun
Anyway to make a GUITexture appear behind the 3D?
For example - I have a 2D background that doesnt change and the user can select 3D Scenes - a small rotating preview of the scene flys in when the click the navigation buttons.
Cheers
Shaun
Create two cameras, order the gui camera in front of the geometry camera using the depth property in the camera. Then Set the geometry camera to clear only depth. And use layer&culling masks in the camera to make sure nothing gets drawn twice.
Sounds like a great solution. thanks
Does this mean I can have GUITextures infront of and behind geometry?
i.e 2D-3D-2D
Yes, the camera system is super flexible in how you can lay things out.
I can’t emphasize this enough. layers are your friend when creating complex GUIs.
cheers.
awesome - thanks for the tips.