fog_maxdensity Command


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.

Arguments


Arguments are parameters that you add to a command. Find information about this command's arguments below.

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

Extra Info

Sv_cheats Required? Yes
Client or Server Command? Client
Default Value -1

fog_maxdensity Examples


Find below working examples of this command (copy and paste into console).


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.