$decaltexture: Difference between revisions
Jump to navigation
Jump to search
m (Added -StaticPropCombine bug) |
m (Clarified bug) |
||
Line 1: | Line 1: | ||
{{Shaderparam|$decaltexture|game=Counter-Strike: Global Offensive|shader1=VertexLitGeneric}} 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. | {{Shaderparam|$decaltexture|game=Counter-Strike: Global Offensive|shader1=VertexLitGeneric}} 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 -StaticPropCombine parameter appears to break this effect in some cases.}} | {{bug|Using [[VBSP]]'s -StaticPropCombine parameter appears to break this effect on autocombined models in some cases.}} | ||
== Parameters and Effects == | == Parameters and Effects == |
Revision as of 00:41, 21 June 2020
Template:Shaderparam 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.