Console Variables for Volumetric Fog
You can specify the following console variables (CVARs) to enable volumetric fog effects. For more information, see Using the Console Window.
Console Variable | Description | Values |
---|---|---|
|
Toggles the Volumetric Fog component on or off. |
|
|
Sets the width and height of the internal volume texture. Screen resolution divided by this factor is applied to the width and height of the fog volume. |
The minimum value should be |
|
Sets the depth for the internal volume texture. | This value should be multiples of 4, but less than
252 .
|
|
Sets the blending factor of the temporal reprojection filter. Higher values cause less flicker, but more ghosting. | 0 = Turn off temporal reprojection.
|
|
Sets the mode of ghost reduction for the temporal re-projection filter. |
|
|
Sets the number of sample points. |
|
|
Sets the shadow sample count for each sample point. |
|
|
Replaces sun shadow maps with downscaled shadow maps or static shadow maps, if possible. This reduces the volumetric fog flicker for sun shadow. |
|
|
Sets the downscale ratio for sun shadow maps. |
|
|
Sets the minimum size threshold for light attenuation bulb size for voxel-based volumetric fog. Small bulb sizes can cause light flicker. |
Specify a value between Default value: |