Example 9.3: Fog - TestFog


This example illustrates the use of fog nodes. A LinearFog node is placed in the scene. The fog has the same gray color as the background, creating an effect of a foggy environment with distant objects fading away to the background.


If you were using a Java-capable browser, you would see the applet instead of this paragraph.

Prev | Next