fog_maxdensity Command

Explore usage, syntax, and examples for the fog_maxdensity CS2 developer console command.

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.

<Density>

Set the fog's maximum density. Use 1 for fully opaque fog or 0.5 for 50%% transparency.

sv_cheats Required

Yes

Client or Server Command

Client

fog_maxdensity Generator

Command

fog_maxdensity

<Density>
0/1 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

fog_maxdensity Examples

Command

fog_maxdensity

0.2

Set the fog's maximum density to 20%% opacity (80%% transparent).

Command

fog_maxdensity

1

Set the fog to be completely opaque with maximum density.