Model doesn't stop light
Hello community!
I'm building a gazebo track where I need the light from a light bulb (simulated as a white sphere with a pointlight) to be stopped by the model's wall so that way the light does not reach to other parts of the track. But, the light seems to go through the model's walls and reaches more zones than desired.
In the image, we can see that light reaches the other end of the track. This happens becasue the light goes through the red wall, illuminates one side of the yellow wall and then goes through the yellow wall, reaching the other end. Also, notice that one side of the green wall -not visible in the image- is illuminated but the other side isn't, and the light still reaches outside the track.
Note: The pointlight is very close to the ground, so that discards that the problem is happening because the light illuminates the whole track from above. Note 2: Simulating with a spotlight seems to have no different effect.
So the question is, How can we stop the light from going through the wall so that way it doesn't reach the other part of the track? How can we make the lights stay trapped in the track's walls?
As always, thanks for your awsome help.
Any help is appreciated :)