Although VRML lights don't cast real shadows, you can always create your own, and manage their behaviors with scripts.

Drag on the small blue spotlight to position it in the scene.

This page is adapted from a CosmoWorlds Clipart demo (c)1998 - pioneer@sgi.com, used by permission.

View source