Garry's Mod Wiki

Revision Difference

Enums/MATERIAL_FOG#515001

<cat>enum</cat>⤶ <enumeration>⤶ <description>Enumerations used by <page>render.GetFogMode</page> and <page>render.FogMode</page>. Clientside only.</description>⤶ <fields>{{EnumField|MATERIAL_FOG_NONE|0|No fog</fields>⤶ ⤶ </enumeration>⤶ ⤶ ⤶ {{EnumField|MATERIAL_FOG_LINEAR|1|Linear fog}}⤶ {{EnumField|MATERIAL_FOG_LINEAR_BELOW_FOG_Z|2|For use in conjunction with <page>render.SetFogZ</page>. 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.}}⤶ }}