$alpha: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) mNo edit summary |
(Added a sentence and fixed typoes) |
||
Line 1: | Line 1: | ||
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 | If ''any'' material on a [[brush]] has <code>$alpha</code>, the brush will stop affecting [[VIS]] and become entirely transparent to NPCs from every angle. | ||
This may be used with <code>[[$translucent]]</code>. | |||
== Syntax == | == Syntax == |
Revision as of 10:35, 30 July 2009
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
$translucent
, for per-pixel opacity.