Skip to main content
Inspiring
May 22, 2017
Solved

How to make UI in front of OVRAvatar hands/controllers

  • May 22, 2017
  • 1 reply
  • 1766 views
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???
This topic has been closed for replies.
Best answer by Livealot
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

LivealotAuthorAnswer
Inspiring
May 24, 2017
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