# Sandbox.Rendering.ViewSetup.Fog

```csharp
System.Nullable<FogSetup> Fog
```

Overrides camera-local fog for this view, even when post processing is disabled.
Null inherits the camera when its post processing is enabled and GradientFog has no explicit override.
A full-weight setup replaces both legacy gradient and cubemap fog; volumetric fog is separate.

Declared in [Sandbox.Rendering.ViewSetup](/api/Sandbox.Rendering.ViewSetup).
Assembly: `Sandbox.Engine`.
