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: https://danielilett.com/2019-12-01-tut4-intro-portals/
💻 Check it out on GitHub: https://github.com/daniel-ilett/portals-urp
--------------
✨ 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 2019.4.12f1 and URP 7.3.1, 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: http://www.dpbolvw.net/click-100742141-12898971?url=https%3A%2F%2Flink.springer.com%2Fbook%2F10.1007%2F978-1-4842-8652-4
✨ Grab Snapshot Shaders Pro here: https://assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/snapshot-shaders-pro-for-urp-hdrp-160556?aid=1101lfDLn
------------
💬 Join the Discord: https://discord.gg/tPQEUwPpb3
💖 Support me on Patreon: https://www.patreon.com/danielilett?fan_landing=true
☕ Or throw me a one-off coffee on Ko-fi: https://ko-fi.com/danielilett
#unity #portals #tutorial