$alpha: Difference between revisions
Jump to navigation
Jump to search
ThunderKeil (talk | contribs) m (→See also: changed all transparency-related articles' see-also's to link oneanother) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | {{lang|$alpha|title=<code>$alpha</code>}} | ||
| | |||
| | |||
}} | |||
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. | ||
If ''any'' material on a [[brush]] has <code>$alpha</code>, the brush will stop affecting [[ | If ''any'' material on a [[brush]] has <code>$alpha</code>, the brush will stop affecting [[VVIS]] and become entirely transparent to [[NPC]]s from every angle. | ||
This may be used with <code>[[$translucent]]</code>. | This may be used with <code>[[$translucent]]</code>. | ||
== Syntax == | ==Syntax== | ||
$alpha <[[normal]]> | $alpha <[[normal]]> | ||
== See also == | ==See also== | ||
*<code>[[$alphatest]]</code> | |||
*<code>[[$alphatest]]</code> | *<code>[[$distancealpha]]</code> | ||
*<code>[[$distancealpha]]</code> | |||
*<code>[[$vertexalpha]]</code> | *<code>[[$vertexalpha]]</code> | ||
*<code>[[$translucent]]</code> | *<code>[[$translucent]]</code> | ||
[[Category:List of Shader Parameters | [[Category:List of Shader Parameters]] | ||
[[Category:Glossary]] |
Revision as of 14:17, 5 June 2021
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>