render.SetFogZ
From GMod Wiki
| Function | |
| Syntax |
render.SetFogZ( Number z ) Where is this used? |
| Description: | |
| Sets the z distance the fog effect uses. | |
| Returns: | nil |
| Part of Library: | render |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Render.SetFogZ]Render.SetFogZ [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 every time the scene is started.
- This only takes effect if the fog mode is MATERIAL_FOG_LINEAR_BELOW_FOG_Z.