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

$opaquetexture: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(created page)
 
m (Remove speculation)
 
Line 1: Line 1:
{{this is a|shader parameter|name=$opaquetexture}} It is a setting that causes the material to be forced opaque, overriding parameters like {{code|[[$translucent]]}} and {{code|[[$alphatest]]}}. It is not necessary to include in materials.
{{this is a|shader parameter|name=$opaquetexture}} It is a setting that causes the material to be forced opaque, overriding parameters like {{code|[[$translucent]]}} and {{code|[[$alphatest]]}}. It is not necessary to include in materials.


Speculation: This is only used for {{hammer4|4}}'s {{code|''View > Draw Materials Opaque''}} menu option.
This is only used for {{hammer4|4}}'s {{code|''View > Draw Materials Opaque''}} menu option.

Latest revision as of 19:38, 27 June 2025

$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.