How to make a see through portal (similar to those in the metaverse hub)?

Hi, I saw these portals in the metaverse hub and was wondering how I could learn to make similar ones. Whenever I move my viewpoint, the inside of the portal also changes and I want to make that similar effect. I have little clue on where to start, anyone have any articles I can start from? Thank you.

19 Likes

Those are done using a ViewportFrame. First a scene is built in studio at the correct place in the world. Then, in game, the scene is put in the ViewportFrame and the VPF’s camera is set to the current camera. The circular portal shape is made using a UICorner. Then the ViewportFrame is placed on a SurfaceGui on the portal.

25 Likes

Okay I’m going to try it out. Thank you!

it’s a slightly-modified version of the portal effect that egomoose + emilybendsspace made.
(they solved the annoying cframe math has to be done because the plane of the fake-world-viewport can be (normally is) offset, skewed, and rotated relative to the normal camera viewport / your screen)

2 Likes

Thanks! I just checked it out.

I tried doing that, but the 3D effect is inversed, is there a way to fix that?