23
4

My take on the impossible cube...no viewports and render targets used!

2y 3mon ago by programming.dev/u/ArmainAP in godot@programming.dev from programming.dev

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

Did you forget to push it? I'm only seeing a gnu license file and that's that

It's on master. Which is a bit confusing because OP also has a main.

Not anymore! Merged it to main.

I haven't noticed that I was working on master instead of main. Merged it to main now