$alpha: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added a sentence and fixed typoes)
No edit summary
Line 1: Line 1:
{{otherlang2
|fr=$alpha:de
}}
Scales the opacity of an entire material by the given value. 1 is entirely opaque, 0 is invisible.
Scales the opacity of an entire material by the given value. 1 is entirely opaque, 0 is invisible.


Line 15: Line 18:


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

Revision as of 06:01, 14 May 2011

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

This may be used with $translucent.

Syntax

$alpha <normal>

See also

English