Library · Prompts: build

Portal shader starter prompt

When to use itWhen you want a window or door into another world in a Quest passthrough app built on the Built-in render pipeline.
What you needA Unity Quest project with single-pass instanced stereo and MRUK loading the room, plus a small world prefab (CC0 or your own assets).
What you getA stencil portal on the widest real wall (or a free-standing door), world materials that test the stencil, crossing detection with hysteresis and a jump guard, and a switch to full VR when you step through.

Part of the full Academy

The full prompt and usage notes unlock with access.

See access options

Used in: Occlusion and depth · Portals into another world