Fog Commands

Below is a searchable list of all fog console commands from Counter-Strike: Global Offensive. Commands in this category can be used to set your client and map fog settings.

How to Use CS:GO & CS2 Commands
  1. Enable the developer console:

    Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".

  2. Press ` or ~ on your keyboard.

  3. Enter a command and hit ENTER on your keyboard to run it!

Are you still stuck? More Help

Commands List

Game Version
  • CS2
  • Both
  • CS:GO
CS:GO & CS2 Compatible
fog_color <R> <G> <B>

This command sets the color of fog, if enabled. The value provided should be an RGB value (separated by spaces).

Name Description
R

The red value of your desired RGB color code.

G

The green value of your desired RGB color code.

B

The blue value of your desired RGB color code.

Examples, Generator & More
CS:GO & CS2 Compatible
fog_colorskybox <R> <G> <B>

This command sets the color of the fog skybox, if fog is enabled. An RGB value separated with spaces should be provided.

Name Description
R

The red value of your desired RGB color code.

G

The green value of your desired RGB color code.

B

The blue value of your desired RGB color code.

Examples, Generator & More
CS:GO & CS2 Compatible
fog_enable <0 / 1>

This command enables fog if set to 1. Note that you will need to set fog_override to 1 if your map's settings disable fog.

Name Description
0 / 1

Enter 0 to disable fog. Enter 1 to enable fog (default). You will need to override your map's fog settings with fog_override 1.

Examples, Generator & More
CS:GO Command
fog_enable_water_fog <0 / 1>

This command enables water fog if set to 1. If set to 0, water fog will be disabled. Note that you need to override your map's fog settings with fog_override 1.

Name Description
0 / 1

Enter 0 to disable water fog. Enter 1 to enable water fog (default).

Examples, Generator & More
CS:GO & CS2 Compatible
fog_enableskybox <0 / 1>

This command will enable (1, default) whether or not fog should be applied to the skybox.

Name Description
0 / 1

Enter 0 to disable the fog skybox. Enter 1 to enable the fog skybox (default).

Examples, Generator & More
CS:GO & CS2 Compatible
fog_end <Distance>

This command will set the "end" of the fog in relation to your player. Higher numbers will make the fog more distant. -1 will set to default. Fog will be shown in the distance between fog_start's value and this value.

Name Description
Distance

The distance from your player at which the fog will stop being rendered (e.g. 1000). Fog will be rendered in the distance between this value and the fog_start value.

Examples, Generator & More
CS:GO & CS2 Compatible
fog_endskybox <Distance>

This command will set how far you can see into the sky before fog appears.

Name Description
Distance

The distance from your player at which the skybox fog will stop being rendered (e.g. 1000). Fog will be rendered in the distance between this value and the fog_start value.

Examples, Generator & More
CS:GO & CS2 Compatible
fog_hdrcolorscale <Scale>

This command sets the fog's HDR color scale. Specify a decimal value between 0 and 1.

Name Description
Scale

The color scale for the HDR. 0.5 = 50%, 1 = 100%.

Examples, Generator & More
CS:GO & CS2 Compatible
fog_hdrcolorscaleskybox <Scale>

This command sets the fog's skybox HDR color scale. Specify a decimal value between 0 and 1.

Name Description
Scale

The color scale for the skybox's HDR. 0.5 = 50%, 1 = 100%.

Examples, Generator & More
CS:GO & CS2 Compatible
fog_maxdensity <Density>

This command sets the maximum density of the fog, given as a decimal percentage. 0.5 would be 50% transparency, 1 would be completely opaque.

Name Description
Density

The maximum density of the fog. 1 would be completely opaque, 0.5 would be 50% transparency.

Examples, Generator & More
CS:GO & CS2 Compatible
fog_maxdensityskybox <Density>

This command sets the maximum density of the fog, given as a decimal percentage. 0.5 would be 50% transparency, 1 would be completely opaque.

Name Description
Density

The maximum density of the skybox fog. 1 would be completely opaque, 0.5 would be 50% transparency.

Examples, Generator & More
CS:GO & CS2 Compatible
fog_override <0 / 1>

This command will allow you to override the fog settings of the map if set to 1. Default is 0 (meaning you will by default use the map's fog settings).

Name Description
0 / 1

Enter 0 (default) to NOT override the map's fog settings. Enter 1 to override the map's fog settings.

Examples, Generator & More
CS:GO & CS2 Compatible
fog_start <Distance>

This command sets the distance from the player at which the fog will start being rendered.

Name Description
Distance

The distance from your player at which the fog will start.

Examples, Generator & More
CS:GO & CS2 Compatible
fog_startskybox <Distance>

This command sets the distance from the player at which the skybox fog will start.

Name Description
Distance

The distance from your player at which the skybox fog will start.

Examples, Generator & More
CS:GO Command
fogui

This command will toggle the visibility of the fog control GUI.

Examples, Generator & More