Is fog enabled?
// Enable fogRenderSettings.fog = true;
See Also: RenderSettings.fogMode, Render Settings manager