Garry's Mod Wiki

kRenderFx

Description

Used by Entity:SetRenderFX and returned by Entity:GetRenderFX.

Most of these require alpha value of entitys color to be less than 255 to have any visible effect.

Values

kRenderFxNone0None. No change.
kRenderFxPulseSlow1Slowly pulses the entitys transparency, +-15 to the current alpha.
kRenderFxPulseFast2Quickly pulses the entitys transparency, +-15 to the current alpha.
kRenderFxPulseSlowWide3Slowly pulses the entitys transparency, +-60 to the current alpha.
kRenderFxPulseFastWide4Quickly pulses the entitys transparency, +-60 to the current alpha.
kRenderFxFadeSlow5Slowly fades away the entity, making it completely invisible.

Starts from whatever alpha the entity currently has set.

kRenderFxFadeFast6Quickly fades away the entity, making it completely invisible.

Starts from whatever alpha the entity currently has set.

kRenderFxSolidSlow7Slowly solidifies the entity, making it fully opaque.

Starts from whatever alpha the entity currently has set.

kRenderFxSolidFast8Quickly solidifies the entity, making it fully opaque.

Starts from whatever alpha the entity currently has set.

kRenderFxStrobeSlow9Slowly switches the entitys transparency between its alpha and 0.
kRenderFxStrobeFast10Quickly switches the entitys transparency between its alpha and 0.
kRenderFxStrobeFaster11Very quickly switches the entitys transparency between its alpha and 0.
kRenderFxFlickerSlow12Same as Strobe Slow, but the interval is more randomized.
kRenderFxFlickerFast13Same as Strobe Fast, but the interval is more randomized.
kRenderFxNoDissipation14
kRenderFxDistort15Flickers ( randomizes ) the entitys transparency
kRenderFxHologram16Same as Distort, but fades the entity away the farther you are from it.
kRenderFxExplode17
kRenderFxGlowShell18
kRenderFxClampMinScale19
kRenderFxEnvRain20
kRenderFxEnvSnow21
kRenderFxSpotlight22
kRenderFxRagdoll23
kRenderFxPulseFastWider24Quickly pulses the entitys transparency, from 0 to 255.