$alpha: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{lang|$alpha|title=<code>$alpha</code> | {{lang|$alpha|$title=$alpha}} | ||
'''<code style="color:white">$alpha</code>''' is a [[material]] [[shader]] parameter. It 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 [[VVIS]] and become entirely transparent to [[NPC]]s from every angle. | 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. | ||
Line 7: | Line 7: | ||
==Syntax== | ==Syntax== | ||
$alpha <[[normal]]> | '''$alpha <[[normal]]>''' | ||
==See also== | ==See also== |
Revision as of 02:35, 11 June 2021
$alpha
is a material shader parameter. It 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>