Forum Discussion
Livealot
8 years agoProtege
How to make UI in front of OVRAvatar hands/controllers
I'm using OVRAvatar to generate my hands/controllers which include a nice self-occluding shader that always shows your hands/controllers in front of everything else in the scene. This is great EXCEPT when I want to provide controller tooltips for what the various buttons do. I'm using a Worldspace canvas attached to each hand to display those tooltips. Is there a way to set up the canvas so that it renders in front of the OVRAvatar occluding shaders???
- Thanks for the link, which included several possibilities. Since I don't like messing with shaders, here are the 2 options that worked best for me.
Option 1:to use the default OVRAvatar hands/controllers, I added a sorting layer to the relevant worldspace canvas and made sure it was at the bottom of the list (below default).
Option 2: use custom controllers instead so you have better control over whatever you want. I used the prefabs from SampleScenes/Hands/Controllers. This approach also helped me highlight specific buttons to go along with the controller tooltips in my tutorial
1 Reply
Replies have been turned off for this discussion
- LivealotProtegeThanks for the link, which included several possibilities. Since I don't like messing with shaders, here are the 2 options that worked best for me.
Option 1:to use the default OVRAvatar hands/controllers, I added a sorting layer to the relevant worldspace canvas and made sure it was at the bottom of the list (below default).
Option 2: use custom controllers instead so you have better control over whatever you want. I used the prefabs from SampleScenes/Hands/Controllers. This approach also helped me highlight specific buttons to go along with the controller tooltips in my tutorial
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 months ago