Unity VR – Force Objects & UI to Render in Front of the Camera

Опубликовано: 15 Май 2026
на канале: Casals 3D
236
6

In this video, I explain step by step how to make objects or UI always visible to the camera (even when hidden by other objects).

There are already a few ways of doing this in a conventional project, but I haven't found any in the specific case of a VR project.
That's why this tutorial focuses on VR projects, although this also works with conventional cameras.

------------------------------------------- Links --------------------------------------------------------------------

First Shader (TextMeshPro):
https://gist.github.com/Casals3D/605d...

2nd Shader (Images & Objects): https://gist.github.com/Casals3D/e083...