Demonstrates how to turn on shadow mapping with a simple WASD-steerable car. Note that shadows will work only with directional lights or spotlights. Note also that if you are building your scene in Blender, you can specify for each object whether it casts and/or receives shadows.

example 37: shadows