how to turn on fog from cde code example
Example: Change fog setting Unity
// Setup Fog
Color newColor;
RenderSettings.fog = true;
RenderSettings.fogColor = newColor;
// Setup Fog
Color newColor;
RenderSettings.fog = true;
RenderSettings.fogColor = newColor;