#Important Question
1 messages · Page 1 of 1 (latest)
I watched this video about all this, but it looks like they got it so the view is the portals actual area, but I can't find anything that roblox lets you use to replicate this
https://www.youtube.com/watch?v=_SmPR5mvH7w&t=273s
I'm a professional programmer who works on games, web and VR/AR applications. With my videos I like to share the wonderful world of programming with everyone!
How did valve create their iconic portals? In this video I demonstrate my process of recreating the portals in Portal.
Music in in outro:
Besus y Abrazor - Rolemusic: https://freemusica...
the best I could guess is sizing the viewport frame to where it only shows the portal view, but then the issue is how would I calculate that?
viewport frames are pretty limited aren't they?
with the lighting and rendering capacity
that would probably create some problems for you if you use them but im not sure how else you would do it
did you see this post
https://devforum.roblox.com/t/re-creating-a-portal-effect/337159/46
Edit: Please check out this repository for an up to date version of the concept. Last post of the night I promise! Since the discussion was in regards to creating a portal effect like in the game “Portal” I figured I’d lazily throw something together: This is more a demo of the visual than it is the ability to actually wa...
ill check it out and see what they did
i tried making portals a while ago, never could get the math right but did make a convincing effect
basically you want a viewport for a surface gui
and then you like do a shitload of math
egomoose's portal tech contains the viewport camera projection you need to make the cameras line up
I can assure you this is not nearly as useful or practical as it seems
this portal technique is uuuuuugllleeehhhh
problem being viewports don't have shadows or lighting, so they look really bad. that's without considering the pixelation problem up close
there's a whole host of other unsolved problems for portals in roblox
but the main one that just kills it is just how ugly it is because of the lack of lighting.
now you might be saying, "but pyro, there are shadows in tunnel, so how did they do that if there's no lighting?" yeah, that is baked lighting.
as in, it is baked into the map's textures.
lighting doesn't effect it since it is like a decal on the wall
viewports are the most reliable despite how ugly they are. the alternative is some really janky occlusion portals which just do not play well with roblox
and again suffer lighting problems
and that's all before the cloning shenanigans you have to do to make the viewports render properly: it is extremely expensive to run this in any roblox game.
These are viewports i can tell
I dont really need to have the details like 1 to 1, the issue for me is the absurd amount of math that's required, since I'm still struggling on math
ya egomoose already released a version of the math
@tender roost 👍
Thx, all I really need to do though is just code the walking through to be semi decent, I have a good idea on how to do it, but also I need to get the shape of the portal
egomoose's project has that too...
I know but I wanna at least code something lol
and yeah it is unsolved. maybe you can possible do something with the new union operations on meshes but idk
you can get by with characters though
ya the code is linked in that thread, you're going to have to read it