MATERIAL_FOG
Description
Enumerations used by render.GetFogMode and render.FogMode. Clientside only.
Values
| MATERIAL_FOG_NONE | 0 | No fog |
| MATERIAL_FOG_LINEAR | 1 | Linear fog |
| MATERIAL_FOG_LINEAR_BELOW_FOG_Z | 2 | For use in conjunction with render.SetFogZ. Does not work if start distance is bigger than end distance. Ignores density setting. Seems to be broken? Used for underwater fog by the engine. |
Garry's Mod
Rust
Steamworks
Wiki Help