CS2 & CS:GO fog_maxdensity Command

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.

Argument Information

The syntax for this command is as follows:
Name Description
Density

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

Extra Information

Find additional information relating to this command below.
sv_cheats Required
Yes
Client or Server Command
Client
Default Value
-1
Total CS is the home of CS2 commands We boast the only complete, up-to-date database of all CS2 console commands. View All CS2 Commands
CS2 player
IPS

Command Generator

Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in CS:GO.

fog_maxdensity <Density>
0/1 arguments filled
Density

fog_maxdensity Examples

fog_maxdensity 0.2

This command would set the maximum density of fog to 20% transparency.

fog_maxdensity 1

This command would set the maximum density of the fog to the highest possible value. With this setting, fog will reach a point at which it is 100% opaque.