Garry's Mod Wiki

Garry's Mod Wiki

  number render.GetFogMode()

Description

Returns the current fog mode.

Returns

1 number
Fog mode, see MATERIAL_FOG enum.

In 2D post-processing hooks, starting with GM:PreDrawEffects, this will always return MATERIAL_FOG_NONE

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...