How to make a Simple HUD?
Hey guys, I've looked all over the place and I haven't found a clear solution for this.
My requirement is simple:
-Implement a simple HUD (3 status icons) that are camera locked (follow player around) and that behave like a "ordinary" HUD (rendered always on top of everything else).
On normal dev, these would be GUI elements, however on VR I'm having a bit of trouble to make them work. I've tried all the tricks I've seen on the web.
These won't even render:
-Using Quads+OVROverlay
-Canvas in Cameraspace
This one works, but the end-result is not what I need:
-Canvas in Worldspace
-Planes+unlit textures
For all the interactive UI stuff I'm rendering elements on worldspace, using a gaze cursor and it works great, but these three are supposed to be always present and don't get "blocked" or "under" the world's elements, so I need them to behave like ordinary UI elements. How do I implement this?
I'm using Unity 5.2.2f1, Runtime 0.8 and a DK2.
Any help is most welcome, since I wanted to avoid any unnecessary code/unity butchery or "clever coding" :)
Thanks for reading!
My requirement is simple:
-Implement a simple HUD (3 status icons) that are camera locked (follow player around) and that behave like a "ordinary" HUD (rendered always on top of everything else).
On normal dev, these would be GUI elements, however on VR I'm having a bit of trouble to make them work. I've tried all the tricks I've seen on the web.
These won't even render:
-Using Quads+OVROverlay
-Canvas in Cameraspace
This one works, but the end-result is not what I need:
-Canvas in Worldspace
-Planes+unlit textures
For all the interactive UI stuff I'm rendering elements on worldspace, using a gaze cursor and it works great, but these three are supposed to be always present and don't get "blocked" or "under" the world's elements, so I need them to behave like ordinary UI elements. How do I implement this?
I'm using Unity 5.2.2f1, Runtime 0.8 and a DK2.
Any help is most welcome, since I wanted to avoid any unnecessary code/unity butchery or "clever coding" :)
Thanks for reading!
