..portable skybox parts?

currently working on a thing that generates map segments randomly, at times having massive windows for the player to look through

how would you go about making a part render only the skybox, as if there were no other parts behind it? pretty much like this, heres a shoddy edit i threw together
without the effect:


with the effect:

im so sorry if i didnt provide enough information, or if this has already been asked elsewhere and i just didnt look hard enough, any help would be greatly appreciated!

1 Like

Using a viewport frame on the front could work. It may be confusing but there’s good documentation on it on this site.

i see, i suspected viewportframes could help me out here. i know you can create a custom skybox using those but ill do some digging to see i can find out how to attach those to individual parts, and have it be convincing. thanks!

update: i have gotten it to kind of work? this is all just a cut down and mutilated version of egomoose’s portal module along with joesmaller_xyz’s fake skybox mesh
although there is an issue where it jitters on some faces when the camera moves


here is a video of the jittering issue in action: Watch fake skies jitter | Streamable

here is a place file if anyone wants to take a look, i apologize for the million coding mistakes i probably made
fakeskies.rbxl (82.7 KB)

1 Like