Test project for portal camera transformations in Godot
addons/freecam_3D | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
icon.svg | ||
icon.svg.import | ||
material_01.tres | ||
node_label.gd | ||
node_label.gd.uid | ||
node_label.tscn | ||
portal_camera.gd | ||
portal_camera.gd.uid | ||
portal_camera.tscn | ||
portal_shader_material.tres | ||
portal_shader.gdshader | ||
portal_shader.gdshader.uid | ||
project.godot | ||
README.md | ||
texture_01.png | ||
texture_01.png.import | ||
world.gd | ||
world.gd.uid | ||
world.tscn |
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.