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

https://programming.dev/pictrs/image/da3e0d25-8486-4fa5-9f47-178c00cb45be.webm

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

23 points · 4 comments · view on lemmy.world

4 Comments

ignotum@lemmy.world · 3 pts · 2y (3 replies)

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

Bezier@suppo.fi · 5 pts · 2y (1 reply)

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

ArmainAP@programming.dev · 2 pts · 2y

Not anymore! Merged it to main.

ArmainAP@programming.dev · 3 pts · 2y

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