Portal is one of the most celebrated videogames ever, and its core mechanic certainly got people talking when it first released. In this video, I go over some of the core concepts you'll need for making your own portals in Unity! This project uses quite a lot of C# scripting and a couple of HLSL shaders, but I try and go over the core bits in detail. -------------- 🌐 Read about portals for the built-in pipeline: 💻 Check it out on GitHub: -------------- ✨ Intro - 0:00 ✨ Recursive Rendering - 1:21 ✨ Oblique Projection Matrix - 5:18 ✨ Portal Shader - 6:32 ✨ Shooting Portals - 8:26 ✨ Shooting Portals Through Portals - 10:22 ✨ Fixing Incorrect Placements - 12:22 ✨ Physically Moving Through Portals - 14:15 ✨ Outro - 17:44 -------------- This project uses Unity and URP , but it should work with other versions, and it doesn't take many tweaks to work with the built-in render pipeline. -------------- 📚 Get a copy of my shader book here: ✨ Grab Snapshot Shaders Pro here: ------------ 💬 Join the Discord: 💖 Support me on Patreon: ☕ Or throw me a one-off coffee on Ko-fi: #unity #portals #tutorial











