Garry's Mod Wiki

render.GetFogMaxDensity

  number render.GetFogMaxDensity()

Recently Added

This was recently added in version (2025.10.08). It might only be available on the Dev Branch right now.

Description

Get the maximum density of the fog.

Returns

1 number maxDensity
The maximum density of the fog, 0-1.