Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.73 KB

README.md

File metadata and controls

29 lines (21 loc) · 1.73 KB

Unity-portal

Project Description

The project is a recreation of Valve's Portal effect created within Unity.

The system is created using two portal prefabs. A portal prefab is made up of a mesh with an attached collider as well as a seperate camera and a particle effect. Each portal uses a material created using a render texture. When both portals are created within the scene each render texture uses the opposite portal's camera to render what eachother can view to give the illusion of being able to see in one and out the other.

You can find a video of the project here.

Installing / Using the Project

The project is built in Unity 2021.3.16f1.

Player Controls

  • Move - WASD | Left Stick [Gamepad]
  • Look - Mouse | Right Stick [Gamepad]
  • Jump - Spacebar | Button South [Gamepad]
  • Place Left Portal - Left Mouse Button | Left Trigger [Gamepad]
  • Place Right Portal - Right Mouse Button | Right Trigger [Gamepad]

Acknowledgements

References