WebGL: Trees

This WebGL test automatically generates a tree model. This tree model is then repeated to represent a forest. A spotlight is created above the viewer and shines on the ground wherever the mouse is pointed. Shadows are then dynamically generated using a depth map.
Keys 1-3: These will cycle through the Visual buffer, Illumination buffer, and the Depth buffer.
Arrow Keys: These will move the user through the environment.
Mouse: Points the light in the desired direction.