I’ve been reading though the treads about GUI layering and as I understand graphic elements are rendered something like this:
3) 3D scene objects
2) GUITexture, GUIText
UnityGUI objects
I need to create an interface where I have costume line (currently created with LineReneder) that needs to go on top of the Unity GUI objects.
As far as I have been able to tell, controls created with the new GUI system are always drawn on top. Also, there’s no way to force another order.
You can achieve what you want by using a rendertexture. A cool feature of rendertextures is that you automatically get an alpha, so superimposing the view from your custom camera (that presumably only displays your lines) should be easy.