I made this render in Blender 4.2.0. It uses the new Ray Portal BSDF shader to project 4 different scenes onto a single cube (In reality it just has 4 sides).