This article's documentation is for anything that uses the Source engine. Click here for more information.

$opaquetexture

From Valve Developer Community
Revision as of 19:38, 27 June 2025 by Flurbury (talk | contribs) (Remove speculation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

$opaquetexture is a material shader parameter available in all Source Source games. It is a setting that causes the material to be forced opaque, overriding parameters like $translucent and $alphatest. It is not necessary to include in materials.

This is only used for Hammer Hammer 4.x's View > Draw Materials Opaque menu option.