A Fog Volume draws the fog inside the box of its transform. Its settings are grouped in the sections described below. With a profile assigned, these sections show the settings of the profile. See Profiles & Presets.
In the inspector, a dot after a setting name marks an active option that adds rendering cost. When the Performance Level of the Fog Manager limits a setting, a note under it shows the value in use.
Rendering Settings
| Setting | Description |
| Raymarch Steps | Maximum number of samples along each view ray. More samples show deep or distant fog with more accuracy and are slower. |
| Raymarch Min Step | Shortest distance in meters between two samples. Increase it to improve performance, decrease it to improve accuracy. |
| Raymarch Step Growth | How much the distance between samples grows with the distance to the camera. Higher values are faster and show less detail in distant fog. |
| LOD Bias | Level of detail of the fog far from the camera. Higher values show less detail in the distance and are faster. |
| Light Volume | Computes the shadow that the fog casts on itself once per frame, for the area around the camera. The fog renders faster and its shadows are softer. Disable it for sharper and slower shadows. Cast Shadows needs this option. |
| Light Steps | Number of samples toward the sun for the shadow of the fog on itself. More samples reach further and are slower. |
| Light Step Length | Length in meters of the first sample toward the sun. Longer steps catch the shadow of fog that is further away, with less detail. |
Density & Noise
| Setting | Description |
| Density | How thick the fog is. Higher values hide more of what is behind the fog. |
| Coverage Amount | Amount of fog in the patches. Lower values make the fog lower and thinner. With 0 there is no fog. |
| Patch Size | Size in meters of the fog patches and of the clear places between them. |
| Clear Areas | Opens clear places in the fog. Higher values make more and bigger places without fog. |
| Border Softness | Softness of the borders of the fog patches. With 0 the borders are sharp. |
| Noise Scale | Size in meters of the big shapes of the fog. Higher values make bigger and smoother shapes. |
| Vertical Scale | Changes the height of the fog shapes. Values over 1 make flatter shapes, values under 1 make taller shapes. |
| Detail Noise: Size | Size in meters of the small details at the edges of the fog. |
| Detail Noise: Strength | How much the small details break the edges of the fog. With 0 the edges are smooth. |
| Wisps | Shape of the small details, from round puffs (0) to thin curls (1). |
| Strands | Breaks the borders of the fog banks into long and thin streaks. With 0 the borders stay in one piece. |
| Swirl Strength | Distance in meters that the swirls move the small details. With 0 there are no swirls. |
| Swirl Size | Size in meters of the swirls that bend the small details. |
Lighting & Colors
| Setting | Description |
| Albedo | Color of the fog. |
| Deep Tint | Color of the fog near the ground. The fog changes from this color at the bottom to its own color at the top. |
| Shadow Tint | Color of the fog in the places that the sun does not light directly, because other fog or an object is in the way. |
| Shadow Softness | Softness in meters of the shadows that the objects cast inside the fog. |
| Sun Intensity | Brightness of the sun light inside the fog. It multiplies the intensity of the directional light. |
| Ambient Light | Color and brightness of the light that the fog receives from the sky. It lights the parts of the fog that are in shadow. |
| Ambient Occlusion | Darkens the fog that has more fog over it, so the deep parts look darker than the top. |
| Powder | Darkens the thin parts of the fog, so the thick parts stand out. |
| Light Diffusion: Forward Spread | Size of the glow of the fog around the sun when the camera looks toward the sun. Higher values give a smaller and brighter glow. |
| Light Diffusion: Backward Spread | Size of the glow of the fog when the camera looks away from the sun. |
| Light Diffusion: Back Scatter | How much the fog glows when the camera looks away from the sun. With 0 the fog only glows toward the sun. |
Shape
| Setting | Description |
| Height | Height in meters of the fog layer, measured from the bottom of the box. The fog does not rise above this height. |
| Base Height | Part of the layer height that the fog always fills, from 0 (nothing) to 1 (the whole layer). The round shapes rise over this base. |
| Bumps | How much the fog rises in round shapes over its flat base. With 0 the top of the fog is flat. |
| Thin Fog Attenuation | Makes the fog lower and more transparent where there is little fog, for example at the borders of a fog bank. |
| Top Fade | How quickly the fog gets thinner toward its top. With 0 the fog is equally thick at any height. |
| Border | Distance in meters over which the fog fades out near the sides of the box, so the box does not show a hard edge. |
Animation
| Setting | Description |
| Wind Direction | Direction and speed of the wind that moves the fog, in meters per second. |
| Detail Noise Wind Direction | Direction and speed that moves the small details of the fog, in meters per second. |
| Turbulence | Strength of the whirls that the wind makes in the fog. With 0 the fog moves as one piece. |
| Turbulence Size | Size in meters of the whirls that the wind makes. |
Terrain Fit
With Terrain Fit on, the fog follows the shape of the ground, so it also covers the hills and valleys inside the box. The ground is captured again each time the box moves or changes its size. If the terrain changes at runtime, call PerformHeightmapCapture().
| Setting | Description |
| Resolution | Size in pixels of the capture of the ground. Higher values follow smaller details of the ground and take longer to capture. |
| Layer Mask | Objects included in the capture. By default all objects are included, but you can restrict it to the terrain. The inspector warns you when the active terrain is not in the mask. |
| Min Altitude | Lowest altitude in meters that the bottom of the fog can take. |
| Max Altitude | Highest altitude in meters that the bottom of the fog can take. |
Haze
The haze is a thin mist that fills the whole box, also over the fog layer. It receives the shadows of the scene, so it shows light shafts between trees or buildings.
| Setting | Description |
| Haze Density | Thickness of the haze. With 0 there is no haze. |
| Haze Forward | How much brighter the haze looks when the camera looks toward the sun. With 0 the haze has the same brightness in every direction. |
| Haze Steps | Number of samples of the haze over the fog layer. More samples give smoother light shafts and are slower. With 0 the haze over the fog layer is not drawn. |