Hi,
I was doing some tests with BabylonJS and while checking out the lights I found that the spotlight goes through some objects but not others? Is this a bug of babylonjs or something I've done?
Example can be seen here, the spotlight hits the top cube/box/rectangle and passes through to the floor and smaller cubes/boxes/rectrangles. http://dev.aftc.co.uk/WebGL/BabylonJS/06_Lights2
Ideas?
Thanks
D
Hi @Darcey, welcome to the BabylonJS forum... good to have you with us. Nice looking scene... I like it.
Actually, spotlight beams travel through everything... unless... they hit a mesh which has been included in the renderlist of a shadowGenerator assigned to THAT light.
At least I think that is correct.
I believe the same is true for two other types of lights which can produce shadows... the pointLight and the directionalLight. I don't think the hemisphericLight (often aimed