OVERLAY
If this flag is set for a map or model, the black parts of the entities' texture
will be invisible, just as if it were a sprite.
Type:
Flag
Remarks:
- The invisible parts of the texture are defined by their color values
at (0,0,0), or by the left upper pixel color when d3d_autotransparency is
set.
For black opaque parts of the texture, use color values at
(8,8,8) or above. A7 The
transparency threshold can be set with d3d_alpharef.
- This flag is only applicable when the texture has no alpha channel.
Otherwise, the transparent parts of the texture are defined by the
alpha channel.
- This flag is only applicable for model and map entities. It must
not be used for sprites or particles, which are black-transparent
by default.
-
Overlay entities are rendered on the solid
pass unless they are
translucent.
Example:
my.OVERLAY = ON;
set(my,OVERLAY);
See also:
alpha, TRANSLUCENT, d3d_autotransparency,
d3d_alpharef
► latest
version online