The Garden

by Michael Horsch
www.BonzaiSoftware.com

Required Extensions:
GL_ARB_multitexture
GL_ARB_shading_language_100
GL_EXT_framebuffer_object

Controls:
W/A/S/D -> Move Front/Left/Back/Right
1 -> Demo Mode
2 -> Free Fly

Description:
This demo shows a garden scene with a depth-of-field effect for the camera, trees and grass, water, lighting and shadows and an animated sykbox. For the depth-of-field effect the depth is rendered to a texture, the final image is then blurred depending on the difference between the depth and the depth which is in focus. The leafs of the trees and the grass are rendered with two sided lighting to simulate the light scattering in the leafs. The water shader shows accurate reflections of the environment and refraction. All objects in the scene are lighted and cast soft blurred shadows onto each other.

Please send your feedback, questions
or bugs to:
feedback@bonzaisoftware.com
or visit the forum at:
http://forum.bonzaisoftware.com/