Is fog enabled?
// Enable fog RenderSettings.fog = true;
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Example() { RenderSettings.fog = true; } }
See Also: RenderSettings.fogMode.
Did you find this page useful? Please give it a rating: