SetFogDensity

From ZDoom Wiki
Jump to: navigation, search

void SetFogDensity (int tag, int density)

Graficon.gif Warning: This feature is GZDoom specific, and is not compatible with ZDoom!
To see all of GZDoom's specific features, see GZDoom features.

Usage

Sets the density of the fog of the tagged sector. This overrides the default calculation from the light level.

Parameters

  • tag: the tag of the sector whose fog density is to be set.
  • density: the density amount of the fog. The higher this value is the more dense the fog is. This ranges from 0 to 510.

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.