Hello! I’ve recently started a project that requires people to go inside buildings. (Duh.) However I’ve ran into a problem. When the walls which make up the building are too thin then the shadows don’t work too well. I don’t really know how to explain it, so here’s an image:
Is there a way to remove the light that is somehow seeping into the room without thickening the walls or turning off global shadows? (Or cast shadow on the parts that make up the walls?)
Lighting.Brightness0 will completely eliminate this as the sun will no longer emit light, this may not be feasible but if you can somehow track if a player is inside a building and toggle Brightness you’ll be fine for now. Other than that, your Ambient is currently set to (0, 0, 0) so raising your Ambient to a high enough value is really the only option.
I have a place with 1 stud walls and Ambient (120, 120, 120) seems to eliminate this while also being a somewhat realistic value for the ambient outside, see what you can do.