Fog Commands

Commands to enhance fog features of Counter-Strike game

fog_maxdensityskybox

CS2 and CSGO

Command

fog_maxdensityskybox

<Density>

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

Command Details

fog_override

CS2 and CSGO

Command

fog_override

<0 / 1>

Use this command to enable or disable overriding the map's fog settings. Setting it to 1 lets you customize fog yourself, while 0 uses the default map settings.

Command Details

fog_override_color

CS2 Only

Command

fog_override_color

<Red><Green><Blue>

Use this command to set a custom fog color override, ideal for developers or custom game modes that need specific fog visuals.

Command Details

fog_override_end

CS2 Only

Command

fog_override_end

<End Distance>

Sets the distance at which fog becomes fully opaque, controlling how far from the player the fog effect reaches its maximum density.

Command Details

fog_override_exponent

CS2 Only

Command

fog_override_exponent

<Exponent>

Adjusts the fog's intensity and brightness when fog override is active in the game.

Command Details

fog_override_start

CS2 Only

Command

fog_override_start

<Distance>

Sets the distance at which fog begins to affect object visibility, controlling how close the player must be for fog to start reducing visibility.

Command Details

fog_start

CS2 and CSGO

Command

fog_start

<Distance>

Sets the distance from the player at which fog starts appearing in-game.

Command Details

fog_startskybox

CS2 and CSGO

Command

fog_startskybox

<Distance>

Sets the distance from the player where the skybox fog begins.

Command Details

lb_show_light_fog_clipmap_cb_cost

CS2 Only

Command

lb_show_light_fog_clipmap_cb_cost

<0 / 1>

Displays the cost of lights in the fog clipmap constant buffer. Yellow indicates a cost of 1, and red indicates a cost of 6. Use this command for debugging and optimizing fog lighting performance.

Command Details

r_dof_override_near_blurry

CS2 Only

Command

r_dof_override_near_blurry

<Distance>

Controls the depth of field so objects closer than a specified distance appear blurry.

Command Details