My take on the impossible cube...no viewports and render targets used!
My take on the impossible cube...no viewports and render targets used!
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