Portal Prototype

Add to
My games
Add to
Wishlist
Save to
Collection
No reviews
Exceptional
Meh
Skip

About

This is a project I spent the last two weeks working on. 

I used this tutorial for the general concept and math for the transformation matrices:

I also used this one for rendering the camera to a texture in Godot:

Some Notes: The portals have issues with occlusion (objects in front of the portals get projected weirdly) the workaround I ended up doing was to just have both cubes in the same place. The arrow key camera controls are a result of HTML not allowing mouse capture. A piece of legacy code from when this was running as a standard .exe means that when you press escape it crashes the game.

I'm currently planning making this run stable in VR for me to use in future projects. If you want the source code for your own use, let me know!

Platforms
Release date
Developer
DungenRobot
Age rating
Not rated

System requirements for Web

Read more...
Portal Prototype screenshot, image №3193167 - RAWG
Edit the game info
Last Modified: Jan 17, 2022

Where to buy

itch.io