Fog Commands

Fog Commands are console commands used to set you map fog settings, and are quite essential when playing Counter-Strike Global Offensive.

bot_sub_machine_guns_only
bot_sub_machine_guns_only
This command will force bots to only use SMGs
Examples, Generator & More
fog_override_start
fog_override_start
<Distance>
Used similarly to the fog_override_end command, it determines at which point the fog starts appearing in relation to the player’s position. The command is typed in the console as “fog_override_start ”.
Name:
Distance
Description:
The distance in the game units at which the fog will start to affect your visability.
Examples, Generator & More
fog_override_max_density
fog_override_max_density
<Density value>
The command determines the maximum density value of fog in the current session. The command is typed in the console as “fog_override_max_density ”.
Name:
Density value
Description:
Use this command to set the density of the Fog override max density.
Examples, Generator & More
fog_override_exponent
fog_override_exponent
<Exponent>
This command serves as the slider for the fog’s overall brightness under the override setting. The command is typed in the console as “fog_override_exponent ”.
Name:
Exponent
Description:
This will set the intensity and brightness of the fog in the game. Inputting a lower number will mean the fog is less visible, a higher value makes the fog more visible.
Examples, Generator & More
fog_override_end
<End Distance>
This command determines whether or not the usage of fog_override on a certain map is enabled or disabled. If you wish to enable this setting, the command is typed “fog_override_enable 1”. To disable the override settings, the command is written “fog_override_enable 0”.
Name:
End Distance
Description:
The distance of the fog when it becomes non-transparent.
Examples, Generator & More
fog_override_enable
fog_override_enable
<0 / 1>
This command determines whether or not the usage of fog_override on a certain map is enabled or disabled. If you wish to enable this setting, the command is typed “fog_override_enable 1”. To disable the override settings, the command is written “fog_override_enable 0”.
Name:
0 / 1
Description:
This command input enables or disables the fog override.
Examples, Generator & More
fog_override_color
fog_override_color
<Red> <Green> <Blue>
Using the same mechanics as the other color-related commands, this is used to set a custom fog color override. The command is typed in the color as “fog_override_color ”. This command will allow the user to set a custom fog color.
Name:
Red
Description:
The red color value.
Name:
Green
Description:
The green color value.
Name:
Blue
Description:
The blue color value.
Examples, Generator & More
fogui
This command is exclusive to CS:GO and has not been implemented in CS2. By typing “fogui” in the console, it will enable the fog control GUI for the user. Since Global Offensive is no longer accessible, it is also no longer usable.
Examples, Generator & More
fog_startskybox
<Distance>
The same concept as any of the skybox commands and the fog_start command, this affects how far the skybox starts to render relative to the player’s position. The command is typed in the console as “fog_startskybox ”.
Name:
Distance
Description:
The distance from the player at which the skybox starts.
Examples, Generator & More
fog_start
<Distance>
Mainly used in connection with the fog_end command, this affects the distance which the fog will start to render based on the player’s position on the map. The command is typed in the console as “fog_start ”.
Name:
Distance
Description:
This is the distance from your player when the fog will start.
Examples, Generator & More
fog_override
<0 / 1>
Some maps’ settings do not allow the fog to be enabled even with the fog_enable command due to how it is built. With this, the fog_override command exists to ignore those settings and allow the player to create fog. If you wish to override the default fog settings, the command is typed “fog_override 1”. To disable the override settings, the command is written “fog_override 0”.
Name:
0 / 1
Description:
Input (0) is default and will not override the current map's fog settings. Input 1 to over the map's fog settings.
Examples, Generator & More
fog_maxdensityskybox
fog_maxdensityskybox
<Density>
This command affects only the density of the fog while looking upwards at the sky. The same values used by the HDR color scale commands are used. This command is typed in the console as “fog_maxdensityskybox ”.
Name:
Density
Description:
You can use this command to set the Density of the skybox.
Examples, Generator & More
fog_maxdensity
<Density>
This command affects the fog’s overall density. In simpler terms, how thick or thin the fog appears on screen. The higher the value, the less visibility and vice versa. The same values used by the HDR color scale commands are used. This command is typed in the console as “fog_maxdensity ”.
Name:
Density
Description:
The maximum density of the fog. 1 makes it completely transparent, 0.5 would make it set at a 50% transparency effect.
Examples, Generator & More
fog_hdrcolorscaleskybox
fog_hdrcolorscaleskybox
<Scale>
Like the other skybox-related commands on the list, this influences the HDR color scale of the skybox only. The same values between 0 and 1 are used. This command is typed in the console as “fog_hdrcolorscaleskybox ”.
Name:
Scale
Description:
The color scale for the skybox's HDR setting.
Examples, Generator & More
fog_hdrcolorscale
<Scale>
This command influences the HDR color scale of the fog when enabled. The values are anywhere between 0 and 1, with each whole number representing a value of 10% upwards such as a value of 0.3 being 30% and so on. This command is typed in the console as “fog_hdrcolorscale ”.
Name:
Scale
Description:
The color scale for the HDR setting.
Examples, Generator & More
fog_endskybox
<Distance>
This command sets how far you can see into the sky before the fog will appear.
Name:
Distance
Description:
The distance from your player at which the sky box will stop rendering. The Fog will be rendered in the distance between the value.
Examples, Generator & More
fog_end
<Distance>
Even if the name suggests otherwise, this command will not make the fog go away completely. It only affects the distance until which the fog will render based on your character’s position in the game. A higher number will make the fog extend further. The command is typed in the console as “fog_end ”.
Name:
Distance
Description:
The distance from your player at which the fog will stop being rendered for example 1000. The Fog will be rendered in the distance between the value.
Examples, Generator & More
fog_enableskybox
<0 / 1>
This command is used to enable or disable the skybox’s appearance and whether or not fog will also be applied to it. It is typically used with the fog_colorskybox command as it will not be of use without first enabling fog on the skybox itself. If you wish to enable fog on the skybox, the command is typed “fog_enableskybox 1”. To disable fog on the skybox, on the other hand, the command is “fog_enableskybox 0”.
Name:
0 / 1
Description:
Enter a 0 this will disable the fog skybox. Enter 1 to enable the fog skybox (default)
Examples, Generator & More
fog_enable_water_fog
fog_enable_water_fog
<0 / 1>
Not to be confused with the original fog_enable command, this purely affects fog on areas of the map with water. If you wish to enable water fog, the command is typed “fog_enable_water_fog 1”. To disable water fog, on the other hand, the command is “fog_enable_water_fog 0”.
Name:
0 / 1
Description:
Enter a 0 to disable water fog. Enter 1 to enable water fog which is set by (default),
Examples, Generator & More
fog_enable
<0 / 1>
This is the command that will mainly enable or disable fog. If you wish to enable fog, the command is typed “fog_enable 1”. To disable fog, on the other hand, the command is “fog_enable 0”. The value 1 is typically used to enable a certain command, while the value 0 is used to disable the same.
Name:
0 / 1
Description:
Enter 0 to disable the fog. Enter 1 to enable the fog which is default. To use this you will need to override to map's fog settings with fog_override 1..
Examples, Generator & More
fog_colorskybox
<R> <G> <B>
This command does not affect the fog itself, but the skybox the command comes with. The skybox is, as the name suggests, simply the color or design of the sky. The command is typed in the console as “fog_colorskybox ”.
Name:
R
Description:
The red value of your chosen color code.
Name:
G
Description:
The green value of your chosen color code.
Name:
B
Description:
The blue value of your chosen RGB color code.
Examples, Generator & More
fog_color
<R> <G> <B>
As the command suggests, it changes the color of the fog when such is enabled in the game. It makes use of RGB values which, if unfamiliar, can be found through a quick search online to determine your color of choice. The command is typed in the console as “fog_color ”.
Name:
R
Description:
The red value of your chosen RGB color code.
Name:
G
Description:
The green value of your chosen RGB color code.
Name:
B
Description:
The blue value of your chosen RGB color code.
Examples, Generator & More
Show entries:

In both Counter-Strike: Global Offensive and Counter-Strike 2, any player can toggle the in-game developer console and make use of commands to customize their gameplay for a variety of reasons. Say you want to record amazing clips for your next great video creation and need to remove all the clutter on the screen? The draw only death notices command exists for that! Want the round to never end even after multiple hours? It’s definitely possible!

But what if it’s not just the gameplay you want to change up, but the battlefield as well? All the maps in Counter-Strike have one thing in common: they take place during neutral weather conditions. Clear skies on a hot, sunny day pretty much every single day of the year. Seeing the same kind of scenery in each competitive match can get dull, so why not spice it up a little with the /fog command?

What Are The /Fog Commands?

The different kinds of fog commands have stayed relatively the same in both CS:GO and CS2. As of March 2024, there are over 20 commands directly related to the fog or environment a player can access during their own private session.

It’s worth noting that this list will not include commands that are typically not used by players in the first place.

fog_color

As the command suggests, it changes the color of the fog when such is enabled in the game. It makes use of RGB values which, if unfamiliar, can be found through a quick search online to determine your color of choice. The command is typed in the console as “fog_color <R> <G> <B>”.

fog_colorskybox

This command does not affect the fog itself, but the skybox the command comes with. The skybox is, as the name suggests, simply the color or design of the sky. The command is typed in the console as “fog_colorskybox <R> <G> <B>”.

fog_enable

This is the command that will mainly enable or disable fog. If you wish to enable fog, the command is typed “fog_enable 1”. To disable fog, on the other hand, the command is “fog_enable 0”. The value 1 is typically used to enable a certain command, while the value 0 is used to disable the same.

fog_enable_water_fog

Not to be confused with the original fog_enable command, this purely affects fog on areas of the map with water. If you wish to enable water fog, the command is typed “fog_enable_water_fog 1”. To disable water fog, on the other hand, the command is “fog_enable_water_fog 0”.

fog_enableskybox

This command is used to enable or disable the skybox’s appearance and whether or not fog will also be applied to it. It is typically used with the fog_colorskybox command as it will not be of use without first enabling fog on the skybox itself. If you wish to enable fog on the skybox, the command is typed “fog_enableskybox 1”. To disable fog on the skybox, on the other hand, the command is “fog_enableskybox 0”.

fog_end

Even if the name suggests otherwise, this command will not make the fog go away completely. It only affects the distance until which the fog will render based on your character’s position in the game. A higher number will make the fog extend further. The command is typed in the console as “fog_end <Distance>”.

fog_endskybox

Used with the fog_enableskybox command and carrying the same concept as the fog_end command, fog_endskybox affects how far you can look into the sky until fog starts to appear. The command is typed in the console as “fog_endskybox <Distance>”.

fog_hdrcolorscale

This command influences the HDR color scale of the fog when enabled. The values are anywhere between 0 and 1, with each whole number representing a value of 10% upwards such as a value of 0.3 being 30% and so on. This command is typed in the console as “fog_hdrcolorscale <Scale>”.

fog_hdrcolorscaleskybox

Like the other skybox-related commands on the list, this influences the HDR color scale of the skybox only. The same values between 0 and 1 are used. This command is typed in the console as “fog_hdrcolorscaleskybox <Scale>”.

fog_maxdensity

This command affects the fog’s overall density. In simpler terms, how thick or thin the fog appears on screen. The higher the value, the less visibility and vice versa. The same values used by the HDR color scale commands are used. This command is typed in the console as “fog_maxdensity <Density>”.

fog_maxdensityskybox

This command affects only the density of the fog while looking upwards at the sky. The same values used by the HDR color scale commands are used. This command is typed in the console as “fog_maxdensityskybox <Density>”.

fog_override

Some maps’ settings do not allow the fog to be enabled even with the fog_enable command due to how it is built. With this, the fog_override command exists to ignore those settings and allow the player to create fog. If you wish to override the default fog settings, the command is typed “fog_override 1”. To disable the override settings, the command is written “fog_override 0”.

fog_start

Mainly used in connection with the fog_end command, this affects the distance which the fog will start to render based on the player’s position on the map. The command is typed in the console as “fog_start <Distance>”.

fog_startskybox

The same concept as any of the skybox commands and the fog_start command, this affects how far the skybox starts to render relative to the player’s position. The command is typed in the console as “fog_startskybox <Distance>”.

fogui (Global Offensive Exclusive)

This command is exclusive to CS:GO and has not been implemented in CS2. By typing “fogui” in the console, it will enable the fog control GUI for the user. Since Global Offensive is no longer accessible, it is also no longer usable.

fog_override_color (CS2 Exclusive)

Using the same mechanics as the other color-related commands, this is used to set a custom fog color override. The command is typed in the color as “fog_override_color <Red> <Green> <Blue>”.

fog_override_enable (CS2 Exclusive)

This command determines whether or not the usage of fog_override on a certain map is enabled or disabled. If you wish to enable this setting, the command is typed “fog_override_enable 1”. To disable the override settings, the command is written “fog_override_enable 0”.

fog_override_end (CS2 Exclusive)

This command determines at which point the fog becomes completely opaque and gives as little visibility as possible in relation to the player’s position on the map. The command is typed in the console as “fog_override_end <End Distance>”.

fog_override_exponent (CS2 Exclusive)

This command serves as the slider for the fog’s overall brightness under the override setting. The command is typed in the console as “fog_override_exponent <Exponent>”.

fog_override_max_density (CS2 Exclusive)

The command determines the maximum density value of fog in the current session. The command is typed in the console as “fog_override_max_density <Density value>”.

fog_override_start (CS2 Exclusive)

Used similarly to the fog_override_end command, it determines at which point the fog starts appearing in relation to the player’s position. The command is typed in the console as “fog_override_start <Distance>”.

How Do You Use The Commands?

To use any command in the game, you must first access the in-game developer console which is usually bound to the ~ key on your keyboard. In the event your keyboard doesn’t have this key, you can bind the console to open upon pressing any available button you have. Since anything involving fog is considered a cheat command, there is a need to input “sv_cheats 1” on the console before each command will successfully run..

After enabling sv_cheats, simply type or copy and paste the specific command from the list to the console.

When Can You Use The Command?

The fog commands can only be used in private servers, not in official matchmaking or competitive play. It is used purely for the enjoyment of the player that enables them, since having fog in a competitive match will prove to be too much of a challenge for anyone to play the game properly.