Render object on top in Unity VR with SteamVR

Hello everybody,

I am trying to render an object on top of all other objects using SteamVR.
I could’nt really find anything helpful in the internet.
Everything I try has some unwished side effects.

I already tried using an additional ‘normal’ camera which only renders the object which should be on top and I tried using a second full CameraRig object to only render this object.
It worked somehow, but in both cases, there were side effects like a controller duplicate or positions of some objects were wrong.

Without VR it is quite easy and I know how to do it. Does somebody know the proper way to do this in Unity VR?

Thanks!

You can change the render order of the material inspector ou change it on the script. But there are come problems with this. In VR you don’t see in 2D, it’s “real” 3D so the object position in the 3D world really matters. Example: If you cave a cube that is behind a sphere, it is possible to render the cube in front, but your brain will notice that the depth is wrong because the 3D effect is telling te truth. This is really uncomfortable to see in VR and it is highly recommended not to do this.