$alpha: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
"$alpha" <float>
Scales the opacity of an entire material by the given value. 1 is entirely opaque, 0 is invisible.
* Scales material opacity by the 'float' number. 0.1 is more transparent than 1.0.


== Syntax ==


[[Category:List of Shader Parameters]]
$alpha <[[normal]]>
 
== See also ==
 
*<code>[[$translucent]]</code>
 
 
[[Category:List of Shader Parameters|A]]
[[Category:VMT Transparency]]
[[Category:VMT Transparency]]

Revision as of 04:02, 13 July 2008

Scales the opacity of an entire material by the given value. 1 is entirely opaque, 0 is invisible.

Syntax

$alpha <normal>

See also