Table of Contents Back Next Page

3D Graphics and Game Engines
Backgrounds and Fog
Example
Each demonstration contains:
Viewpoint at (1,1,0)
4 white cones
Locations (0 0 -4), (0, 1 -8), (0, 2, -12) and (0 3 -16)
Background and Fog color of (.25 .5 1)
Using fog for underwater such as coastal waters around Hawaii
Fog with visbilityRange = 17
Left image is a linear fog; Right image is Exponential fog.
Linear Exponential