Fog mode to use.
// Use linear fog RenderSettings.fogMode = FogMode.Linear;
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Example() { RenderSettings.fogMode = FogMode.Linear; } }
See Also: RenderSettings.fog.