- Home /
Rendering a 3d mesh over Unity UI,Rendering over Unitys UI
I'm trying to figure out a way to make it so this mesh can always render on top/in front regardless of situation. I can't use canvas components as they're not VR friendly. Attached is a picture of the problem.
,I'm trying to find a way to make a mesh constantly render over/on-top-of unity's UI (As well as everything else) The only thing of note is that I can't use canvas components as they're not VR-friendly.
Answer by YasanthaPrabath · Aug 30, 2020 at 01:54 PM
Q1: If you not using Unity Canvas based UI what kind of UI system you are using for your VR application?
Without knowing much I cannot help but I suggest render layering your model camera over UI rendering with the camera a stack. ( latest unity ) or Render your model cam onto RenderTexture and apply on RawTexture if you using unity UI.
Answer by vertexx · Aug 31, 2020 at 02:07 AM
Lot of folk with VR just use small (very scaled down) primitive planes placed very close to the camera and children of the Camera. Then use usual logic to detect mouse clicks etc. This allows for perfect VR UI. Well for me it does anyway. Very simple for basic experimenting.
I think I may've figured out some way to make this work the way I want it to. I need to be able to change the rendermode on the mesh or a particle system for example to rendermode - overlay, or rendermode - camera But I'm not sure how I'd do that.
Answer by euogfarntq · Sep 01, 2020 at 10:14 AM
I just google and came up your post. Interesting..and thanks for sharing talktosonic
Your answer
Follow this Question
Related Questions
Render mesh in front of another mesh but not in general 2 Answers
Image Components overlap when a material is assigned on Lightweight Render Pipeline. 0 Answers
How to modify the render output of individual layers in Unity 2D? 0 Answers
Character behind obstacles shader, multiple Pass issue 0 Answers
Strange Render Order Issue 0 Answers