Lighting going through the walls

Hi, I am making a vibe Styled game and I have noticed how where the edges of walls meet there seems to be light leaking in from the outside.
If you have any ideas what this happening or a way in which you can Help me out that would be much appreciated. :smiley:

ALERT : I found out what it was, I jsut changed what type of light source i was using. I changed it from Spotlight to Surface and it seemed to have worked. Thank you everyone for your in detail help and info :smiley:

4 Likes

What lighting technology are you currently using?

3 Likes

This is caused by the Specular setting in Lighting unfortunately. If you set it to 0, it will stop the light going through but your game may also look quite a bit different.

1 Like

Try to add Neon Black(0, 0, 0) walls

1 Like

I am using ShadowMap right now Although I did change some of the lighting settings such as the ambient and things like that.
image

the specular setting is already set to 0

Turn on Future Lighting, and turn on Shadows for your lights.

1 Like

(post marked for deletion for privacy reasons)

2 Likes

Does what type of light source also matter? Because on the part it is using spot light.
image

1 Like

For anyone in the future, i personally solved this by turning off global shadows.

This juristically changes the appearance of your game though.

1 Like

I understand. I’m just throwing out an option that solved this problem for my game, so that people looking on this in the future have another option to try.

1 Like

I know this post is almost 4 years old, but you have to turn diffuse specular lighting to 0 and then turn specular to 0

1 Like