$alpha: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 15: Line 15:


[[Category:List of Shader Parameters|A]]
[[Category:List of Shader Parameters|A]]
[[Category:Glossary]]

Revision as of 00:32, 9 April 2023

English (en)Deutsch (de)Español (es)Français (fr)Русский (ru)Translate (Translate)

$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.

Syntax

$alpha	<normal>

See also