Hi, I’m trying to make a portal, but I’m not sure how to make a viewportframe the same size as the portal in an oval shape.
1 Like
I don’t think this is achievable with roblox. You could try to use a SurfaceGui and UIcorner but im not sure if UIcorner works on a viewportframe.
1 Like
its very much achievable you can filter out everything else and it will just show the portal
1 Like
I’m not sure what you mean by this. I believe the OP wants the view port to look like this:
with oval shaped portals. This wouldn’t be possible with just background transparency, since actually parts would need to be clipped at the borders of the oval.
@OP
The picture of the game above only lets players create portals on pre-determined surfaces. I assume they do one of three things:
- Split the surface into a few parts to remove the area where the portal is, fill in that area with a mesh of a cube with an oval cut out, and sink the viewport frame into the wall
- Place a ViewPortFrame/Decal/ImageLabel that looks like the wall infront of the view port frame
- Add a border wide enough that it can cover the edges of the not-oval-shaped UICorner:
A game link if anyone wants to try to figure out how this works:
2 Likes
Wouldn’t a transparent image with the edges filled suffice?
1 Like