- Home /
Light pass under walls
!hello. I am trying to create torch for my game so for that i am using spot light with real time backing and hard shadow enabled. But light pass under the walls while the walls and ground are snapped. I also tried soft shadow but no luck. thanks in advance fro any help.
$$anonymous$$eshes have a "cast shadow" option. $$anonymous$$aybe that is not enabled for your walls?
cast shadow option is on for my walls. thanks for suggestion.
Hmm! How about the floor? Does that have receive shadows set?
Could be something related to quality settings maybe? There is quite a few things in there related to shadows.
$$anonymous$$ight also wanna double the wall scaling in the Y-direction, just to make absolutely sure that there are no gaps.
still nothing good. I think its bad time for me.thanks nerd clown.
Did you able to solve this? I'm having the same issue. Searching on the internet/forums or here didn't really provide any solution sadly.
Use layers and culling masks so the light only affects specific layers
$$anonymous$$aybe i should have said 'similar' issue, because i'm not sure how to make use of layers and culling masks in my case. Directional light causing these light leaks at the edge of wall & weird shadows (baked or realtime doesn't matter) and i'm going to use the room behind this wall as well which needs to be lit with the same light. I'm pretty sure that my walls are thick enough, 'water tight' and stick to each other and using same materials.
Your answer
Follow this Question
Related Questions
The light is not blending 0 Answers
Shadows and lights are flashing and disapperaring when player is moving 0 Answers
Problem with lighting an object. 1 Answer
Light creates distortion on mesh? 1 Answer
No shadows. 2 Answers