Shadows casting problem
09 October 2017 09:04
Hello community, I have a problem with shadows in blend4web and I hope you can help me.
I prepared a simple scene with a extremely simple model of a industrial machine to start learnirg blend4web. Now i'm working on the ligthing: I set a lamp with shadows on, cast and receive shadows on the mesh and the plane, but I don't see anything.
I tried to change clip start and end of the lamp, but nothing happens.
I'm doing it wrong, but I don't understand where.
I have attached the blend file, i think it's easier using the file itself.
Thanks in advance to everyone can help me to understand my errors
I prepared a simple scene with a extremely simple model of a industrial machine to start learnirg blend4web. Now i'm working on the ligthing: I set a lamp with shadows on, cast and receive shadows on the mesh and the plane, but I don't see anything.
I tried to change clip start and end of the lamp, but nothing happens.
I'm doing it wrong, but I don't understand where.
I have attached the blend file, i think it's easier using the file itself.
Thanks in advance to everyone can help me to understand my errors
09 October 2017 10:07
09 October 2017 11:02
hi, point didn't make any shadow because light is everywhere.Point can cast a shadow but because all shadow have a direction in Belend4Wen at first you need to change it to sun, then set a direction of the pight and then change it to the point type. It's not so confortble but as is:), in the future we have plan to implement a real behavior of such light source.
Just add spotlight or sunlight and everything will be ok
Blend4web and that kind of thing.