SetGlobalFogParameter

From ZDoom Wiki
Revision as of 23:30, 29 December 2009 by Gez (talk | contribs) (New page. Again, if this makes its way into Skulltag, change the GZDoom template by the OpenGL template.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Circle gzdoom.png Warning: This feature is GZDoom specific, and is not compatible with ZDoom!
To see all of GZDoom's specific features, see GZDoom features.


157:SetGlobalFogParameter (property, value)


Changes the fog properties specified in MAPINFO.

Parameters

  • property: One of the following constant identifiers must be used (numbers are provided for use on a linedef or map object):
0—FOGP_DENSITY corresponds to the fogdensity property.
1—FOGP_OUTSIDEDENSITY corresponds to the outsidefogdensity property.
2—FOGP_SKYFOG corresponds to the skyfog property.
  • value: The new value of the chosen property.