jacmy wrote:
To light the whole environment, i have to adjust the "H3DLight::FovF" to 360, but the shadow disappears, how to solve this, thanks.
I'd recommend using the SceneEditor an playing around with different light parameters.
If you search the forum, you'll find a couple of threads discussing directional lights e.g. for representing sunlight.
Basically, your two choices are:
Implement a directional light.
Use the existing spot light and place it far away from you scene. And don't use a fov of 360.