How would I mask out the skybox?

I’ve seen this effect being used in Animal Crossing and a few other games, and I was wondering how I could recreate it in Roblox.

I’ve tried making the skybox pitch black and using an inverted black sphere, but neither gives the same effect. What I want is to change the lighting inside the house without affecting the lighting outside—if that makes sense.

3 Likes

Try making a neon black box with cast shadows off.

2 Likes

Unfortunately, using a neon black part doesn’t give me the pitch-black effect I want. The closest I’ve gotten is by creating a box with SurfaceGuis set to AlwaysOnTop, which helps simulate the darkness.

However, the issue with this method is that anything placed inside the box is still invisible, which defeats the purpose.

I’m wondering, is there a better workaround that allows for true interior darkness while also showing any objects inside?

I figured out a solution that works for my use case using the SurfaceGui method — you just have to adjust the camera angle.

I placed two parts, one above and one below, each with a SurfaceGui containing a black Frame. I set AlwaysOnTop to true for both SurfaceGuis. Then I stretched the parts really wide to fill the view. I placed my model on the bottom part and positioned the camera so it looks between the two, making everything outside the model appear hidden in black.

EDIT:

This may not work; an alternative would be to just surround the area with black parts and have an opening that is visible to the players.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.