Garry's Mod Wiki

MATERIAL_FOG

Description

Enumerations used by render.GetFogMode and render.FogMode. Clientside only.

Values

MATERIAL_FOG_NONE0No fog
MATERIAL_FOG_LINEAR1Linear fog
MATERIAL_FOG_LINEAR_BELOW_FOG_Z2For 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.

Page Links


Special Pages


Wikis

?

Render Time: 70ms

DB GetPage 43
Generate Html 2
SaveChanges (1) 10
Render Body 0
Render Sidebar 13