$decaltexture: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) mNo edit summary |
m (Replacing with "This is a" template) |
||
Line 1: | Line 1: | ||
{{ | {{This is a|shader parameter|name=$decaltexture|game=Counter-Strike: Global Offensive}} It allows for a second UV channel to be defined for a model, allowing a decal texture to be placed on top of the base material. To use the parameter, the [[MDL]] must have been compiled from an FBX file and have a second UV channel defined. | ||
{{bug|Using [[VBSP]]'s <code>-StaticPropCombine</code> parameter appears to break this effect on autocombined models in some cases.}} | {{bug|Using [[VBSP]]'s <code>-StaticPropCombine</code> parameter appears to break this effect on autocombined models in some cases.}} | ||
Revision as of 10:17, 10 August 2024
$decaltexture
is a material shader parameter available in Counter-Strike: Global Offensive. It allows for a second UV channel to be defined for a model, allowing a decal texture to be placed on top of the base material. To use the parameter, the MDL must have been compiled from an FBX file and have a second UV channel defined.