MATERIAL_FOG Enumerations

From Garry's Mod
Jump to: navigation, search

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

Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
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.
Personal tools
Navigation