Sunlight blocking

When I enter a house, I want to make the upper floors invisible, but when I do so, sunlight comes into the interior. Is there a way to prevent this incoming sunlight from coming in?

1 Like

Are you using RTX? Apparently, you cannot use RTX because the sun would already pass through. If you want to fix that, you would have to use a skybox.

You’d need to make a script on the client which disables the SunRays object when the player’s character enters an interior.
image
image

1 Like


As seen in this video, when the upper floors are hidden, the sun comes out.


While browsing the forum, I came across a post and when I made it invisible, I created a new piece there and repeated the process, resulting in this outcome.
thankyou @ NobleBuild

1 Like

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