hi, so i am making a dance club as a building for my game, and the sun keeps breaking through the walls. How can i get rid of this effect?
I think in lighting you can change it to a dark time so it won’t interfere, maybe? Or change the brightness of the lighting to darker.
No i can not do that, since it is a game that has this dance club as a little thing to do when players are bored. What im trying to say is, most of the time, players are supposed to see the sky and i have a normal time rotation in here.
i think i might have figured it out, but i need to do some testing.
The most simple answer…build a bunch of walls around the club
Ok I have no idea now lol. Good luck.
i think ive got an idea. i could turn the club into a teleport, but that would not be as real and everything
Enable CastShadow
on all the parts.
Try what @Crazedbrick1 said, also, try making the walls or ceiling thicker, I think there is a certain thickness(or thinness) where the sun will shine through.
I did some testing. Are you using compatibility lighting? Its really hard to get shade in that mode. A super thick roof will help, but not as well as using Shadowmap or Future.
Even with shadowmap, I had to do some tricks to get the darkest interior, light leaks through the corners of walls. Making the walls black helped a ton. If I union the walls and ceiling the light is pretty well blocked. But then I lost some of the ceiling shade by making it a union, so I duplicated the ceiling brick and left that above the union. Light still seeping under the wall at the bottom, I duplicated all the non-unioned wall parts and left those surrounding the exterior, its pretty dark in that box now. I have zero sun reflection on the floor.
inside(orange light is a spotlight so it wouldn’t be a picture of black):
outside:
Maybe when you enter, set the TimeOfDay
to 1
The way I fix that is by making the parts a bit thicker which gives it a dark vibe inside.
Adding on - don’t forget to do it locally
Either make it nighttime or use a sunless skybox
This is tricky, but I have a solution. Union the walls.
hmm thats a good idea, but can you set the time client sided?
Ok. when i have more time i will go ahead and work on the club. i do not have much time currently.
I am going to apply science to a game engine and say change the color of the walls because black absorbs light (Probably not going to work). Also try increase your graphics and that might solve it.
1: Use future lighting so the sun actually gets blocked out
2: turn on castshadow on all parts except the baseplate (useless shadow)
3: increase your graphics as said above
4: p r o f i t