RenderSettings.fogDensity Manual     Reference     Scripting  
Scripting > Runtime Classes > RenderSettings
RenderSettings.fogDensity

static var fogDensity : float

Description

The density of the exponential fog.

Fog density is used by Exponential and ExponentialSquared modes.

/// Set for density
RenderSettings.fogDensity = 0.1;
// And enable fog
RenderSettings.fog = true;

See Also: RenderSettings.fogMode, Render Settings manager