Portal Prototype
Project to study portal mechanics
This is a prototype/proof of concept made to study and try to replicate the portal mechanics from Portal. A number of iterations were done to figure out the best way to render the view of the portal, along with the portal camera movement. I landed on using a series of matrix multiplications to determine the position of the camera, and, for the render, mapping the uv coordinates of the portal mesh (a quad) in screen space to then crop the portal camera view.
This project taught me a lot about camera spaces, coordinate transformation, shaders, camera manipulation, and Unity's Universal Render Pipeline