$alpha: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (The "A" was used for catalog)
Line 15: Line 15:
*<code>[[$translucent]]</code>
*<code>[[$translucent]]</code>


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

Revision as of 01:33, 6 June 2021

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

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