render.GetFogMode
From GMod Wiki
Function | |
Syntax |
render.GetFogMode( ) Where is this used? |
Description: | |
Gets the currently set fog mode. | |
Returns: | Enum mode |
Part of Library: | render |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Render.GetFogMode]Render.GetFogMode [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |
Additional Notes
- This does not affect global scene fog. That is reset everytime the scene is started.
- These are the enumerations you should expect from function :
MATERIAL_FOG_NONE - Disables fog MATERIAL_FOG_LINEAR - Linear fog MATERIAL_FOG_LINEAR_BELOW_FOG_Z - Linear fog that only shows below the z specified.