// Use this for initialization void Start() { Instance = this; // mainLight = GetComponent<Light>(); skMat = RenderSettings.skybox; defExposure = 0.01f; SetExposure(defExposure); skMat.SetFloat("_AtmosphereThickness",0.35f); }
// Use this for initialization void Start() { Instance = this; // mainLight = GetComponent<Light>(); skMat = RenderSettings.skybox; defExposure = 0.01f; SetExposure(defExposure); skMat.SetFloat("_AtmosphereThickness", 0.35f); }