Fog Commands

Commands to enhance fog features of Counter-Strike game

csm_cascade2_override_dist

CS2 Only

Command

csm_cascade2_override_dist

<Distance>

Sets a custom distance for Cascade Shadow Mapping 2.0, allowing developers to test and optimize shadow rendering.

Command Details

fog_color

CS2 and CSGO

Command

fog_color

<R><G><B>

Sets the fog color using an RGB value when fog is enabled.

Command Details

fog_colorskybox

CS2 and CSGO

Command

fog_colorskybox

<R><G><B>

Sets the fog skybox color using RGB values when fog is enabled.

Command Details

fog_enable

CS2 and CSGO

Command

fog_enable

<0 / 1>

Enable fog by setting this command to 1. If your map disables fog, set fog_override to 1 to ensure fog appears.

Command Details

fog_enableskybox

CS2 and CSGO

Command

fog_enableskybox

<0 / 1>

Controls whether fog is applied to the skybox. Set to 1 (default) to enable fog on the sky, or 0 to disable it.

Command Details

fog_end

CS2 and CSGO

Command

fog_end

<Distance>

Sets the maximum distance from your player where the fog ends. A higher value pushes the fog farther away. Use -1 to reset to the default setting. Fog appears between the fog_start value and this fog_end distance.

Command Details

fog_endskybox

CS2 and CSGO

Command

fog_endskybox

<Distance>

Sets how far you can see the sky before fog appears in the distance.

Command Details

fog_hdrcolorscale

CS2 and CSGO

Command

fog_hdrcolorscale

<Scale>

Adjust the fog's HDR color intensity by setting a value between 0 and 1.

Command Details

fog_hdrcolorscaleskybox

CS2 and CSGO

Command

fog_hdrcolorscaleskybox

<Scale>

Sets the fog's skybox HDR color intensity. Enter a decimal value between 0 and 1.

Command Details

fog_maxdensity

CS2 and CSGO

Command

fog_maxdensity

<Density>

Sets the fog's maximum density as a decimal value. For example, 0.5 makes the fog 50%% transparent, while 1 makes it fully opaque.

Command Details