This OpenGL code sample combines several techinques to produce a realistic looking natural scene. Notice the wind blowing through the grass and rippling across the lake as the clouds pass by overhead. The gently swaying grass is rendered using Transparency Antialiasing to ensure it looks great even in the distance, and the horizon is tinted using an exponential fall off effect. Several textures and a pixel shader are used to create the diverse terrain. A whitepaper is included that explains all of these techniques in detail.
Aug 16, 2005 | Category: Developers •