Module 05 · Your room as a world
Portals into another world
At the endA portal in your wall, with a world behind it
- Time
- about 45 min
- Level
- Advanced
- You need
- Unity 2022.3 LTS (Built-in render pipeline, single-pass instanced, as in the starter), Meta XR Core SDK, MR Utility Kit · Assets for one small world (CC0, or marketplace assets whose licence allows Unity) · Quest 3 or 3S · Claude Code or Codex
Evidence: reconstructed steps to test in your own build.
What this lesson covers
How a portal opens another world in your real wall and lets you step through into full VR and back. The stencil concept in one picture, where worlds come from and what their licences allow, the placement and crossing rules from my own portals (through the door rectangle, ignore tracking jumps, 8 cm hysteresis, refuse doors without free floor), and the per-pixel technique for the moment one eye crosses before the other.
- Explain how a stencil portal works and why the world draws only where the opening marked the stencil buffer
- Get a portal window on your largest real wall with a world behind it, within a performance budget
- Turn it into a free-standing door you can step through, with crossing rules that ignore tracking jumps and never lead you into furniture
- Judge a portal on the headset - parallax, both eyes, brightness, the moment of crossing
This lesson is part of full access
You can see above what it covers. The steps, prompts, code and downloads open with full access: all 46 lessons for €49, paid once.