RENDERMODE Enumerations

From Garry's Mod
Jump to: navigation, search

Enumerations used by Entity:SetRenderMode and Entity:GetRenderMode.

Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
RENDERMODE_NORMAL 0 Normal render mode
RENDERMODE_TRANSCOLOR 1
RENDERMODE_TRANSTEXTURE 2
RENDERMODE_GLOW 3
RENDERMODE_TRANSALPHA 4 Use this to make alpha of Color work for your entity. For players, it must be set for their active weapon aswell.
RENDERMODE_TRANSADD 5
RENDERMODE_ENVIROMENTAL 6
RENDERMODE_TRANSADDFRAMEBLEND 7
RENDERMODE_TRANSALPHADD 8
RENDERMODE_WORLDGLOW 9
RENDERMODE_NONE 10
Personal tools
Navigation