$translucent
Jump to navigation
Jump to search
The $translucent
VMT command specifies that the material should be partially see-through. The alpha channel of $basetexture
is used to decide translucency per-pixel.
Any object that has a $translucent
material does not affect VIS, and can be seen through by NPCs from any angle.

$envmap
) can disable translucency. If you are having trouble getting it to work, try commenting out other parts of the material.
$translucent
can sometimes cause rendering artefacts. Consider $alphatest
when this happens.VMT syntax example
$translucent <bool>
LightmappedGeneric { $basetexture glass\window001a $translucent 1 }
Additional parameters
$additive <bool>
- Renders the texture additively, so that its colors add to, instead of replacing, what is displayed behind.
$alphatest
$alphatest
enables low-detail translucency if used instead of $translucent
. This drastically lowers quality, but is much faster to draw and can resolve 'flickering' artefacts.
See also
$alpha
, for texture-wide translucency.