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

static var fogDensity : float

Description

The density of the fog.

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

See Also: Render Settings manager