Test project for portal camera transformations in Godot
Go to file
2025-03-05 08:09:00 +01:00
addons/freecam_3D Try adding subviewports programmatically - doesn't work 2025-03-04 21:22:43 +01:00
.editorconfig Portals work omg 2025-03-04 17:57:47 +01:00
.gitattributes Portals work omg 2025-03-04 17:57:47 +01:00
.gitignore Portals work omg 2025-03-04 17:57:47 +01:00
icon.svg Portals work omg 2025-03-04 17:57:47 +01:00
icon.svg.import Portals work omg 2025-03-04 17:57:47 +01:00
material_01.tres Portals work omg 2025-03-04 17:57:47 +01:00
node_label.gd Portals work omg 2025-03-04 17:57:47 +01:00
node_label.gd.uid Portals work omg 2025-03-04 17:57:47 +01:00
node_label.tscn Portals work omg 2025-03-04 17:57:47 +01:00
portal_camera.gd Try adding subviewports programmatically - doesn't work 2025-03-04 21:22:43 +01:00
portal_camera.gd.uid Portals work omg 2025-03-04 17:57:47 +01:00
portal_camera.tscn Try adding subviewports programmatically - doesn't work 2025-03-04 21:22:43 +01:00
portal_shader_material.tres Portals work omg 2025-03-04 17:57:47 +01:00
portal_shader.gdshader Portals work omg 2025-03-04 17:57:47 +01:00
portal_shader.gdshader.uid Portals work omg 2025-03-04 17:57:47 +01:00
project.godot Add README 2025-03-05 08:08:30 +01:00
README.md Rename README 2025-03-05 08:09:00 +01:00
texture_01.png Portals work omg 2025-03-04 17:57:47 +01:00
texture_01.png.import Portals work omg 2025-03-04 17:57:47 +01:00
world.gd Portal viewports seem to lag behind 1 frame 2025-03-04 18:16:51 +01:00
world.gd.uid Portal viewports seem to lag behind 1 frame 2025-03-04 18:16:51 +01:00
world.tscn Try adding subviewports programmatically - doesn't work 2025-03-04 21:22:43 +01:00

Portal Transformations

This is a test project.

Contains just a few tool scripts to see how portal camera transformations work. I wanted to see everything happening in editor. The setup is messy, but somewhat works. You can see what you are supposed to through the portal :)

Issues

One thing I wasn't able to solve is that the portal texture seems to lag behind perhaps 1 frame or something. There is a delayed sway when I move left and right in front of the portal. You can see it clearly on the lines on the ground - they are supposed to be aligned.