$alpha: Difference between revisions

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


[[Category:List of Shader Parameters|A]]
[[Category:List of Shader Parameters|A]]
[[Category:VMT Transparency]]

Revision as of 10:12, 15 July 2008

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 affected VIS and become entirely transparent to NPCs from every angle.

Syntax

$alpha <normal>

See also