Projected Shadows |
5 May 2002 |
|
Description : |
A simple demo
to show how to do projected shadows in a scene. This demo has one light source
and two rotating objects. A shadow is cast on the walls behind the objects
depending on the position of the light source.
Adding more light sources and more objects to the scene requires very little
extra code.
When the demo starts you will notice the light moving around the scene by
itself. To control the light, click on it and drag it around the scene. To move
the light source into and out of the scene use a right click drag.
|
Download : |
115 KB (EXE and Source) |
|