Version: 5.6
public static float fogDensity ;

説明

フォグの密度指数

Fog density is used by Exponential and ExponentialSquared modes.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { RenderSettings.fogDensity = 0.1F; RenderSettings.fog = true; } }

関連項目: RenderSettings.fogMode