My solution is shader based. The object inside the cube is visible when viewed trough a “portal”.
You may find this example scene and the code here: https://github.com/ArmainAP/Godot-Occlusion-Portals
My solution is shader based. The object inside the cube is visible when viewed trough a “portal”.
You may find this example scene and the code here: https://github.com/ArmainAP/Godot-Occlusion-Portals
It’s on master. Which is a bit confusing because OP also has a main.
Not anymore! Merged it to main.