render.FogMode
From GMod Wiki
Function | |
Syntax |
render.FogMode( Enum mode ) Where is this used? |
Description: | |
Sets the fog mode that the fog effect uses. | |
Returns: | nil |
Part of Library: | render |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Render.FogMode]Render.FogMode [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 can use with this 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.