Version:

Console Variables for Fog

Console Variables for Fog

The following console variables can be used to control fog. For more information, see Using the Console Window.


Console VariableDescription
e_FogToggles fog on and off.
e_FogVolumesEnables local height/distance based fog volumes.
e_FogVolumesTiledInjectionEnables tiled fog volume density injection.
r_FogDepthTestEnables per-pixel culling for deferred fog pass. Fog computations for all pixels closer than a given depth value will be skipped. 0 = culling disabled. > 0 = fixed linear world space culling depth < 0 = optimal culling depth will be computed automatically based on camera direction and fog settings.
r_FogShadowsEnabled deferred volumetric fog shadows. 0 = No shadows 1 = Standard resolution 2 = Reduced resolution.
r_FogShadowsModeRaycasting mode for shadowed fog. 0 = Brute force shadow map sampling 1 = Optimized shadow map sampling
r_FogShadowsWaterEnables volumetric fog shadows over water volumes.