The ExponentialFog leaf node extends the Fog leaf node by adding a
fog density that is used as the exponent of the fog equation. The
density is defined in the local coordinate system of the node, but
the actual fog equation will ideally take place in eye coordinates.

The fog blending factor, f, is computed as follows:

f = e-(density * z)

where

z is the distance from the viewpoint.
density is the density of the fog.

In addition to specifying the fog density, ExponentialFog lets you
specify the fog color, which is represented by R, G, and B
color values, where a color of (0,0,0) represents black.

Field Summary

static int

ALLOW_DENSITY_READ
Specifies that this ExponentialFog node allows read access to its
density information.

static int

ALLOW_DENSITY_WRITE
Specifies that this ExponentialFog node allows write access to its
density information.

cloneNode

forceDuplicate - when set to true, causes the
duplicateOnCloneTree flag to be ignored. When
false, the value of each node's
duplicateOnCloneTree variable determines whether
NodeComponent data is duplicated or copied.