Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.

$alpha/en

From Valve Developer Community
Jump to: navigation, search

$alpha is a material shader parameter. It scales the opacity of an entire material by the given value. 1 is entirely opaque, 0 is invisible.

If any material on a brush has $alpha, the brush will stop affecting VVIS and become entirely transparent to NPCs from every angle.

This may be used with $translucent, although using $translucent here is redundant, as any $alpha different than 1 will already apply the $translucent parameter.

This cannot be used with $alphatest. If used, the material will be invisible.

Icon-Bug.pngBug:Not available in VertexLitGeneric.

Syntax

$alpha	<normal>

See also