$model (VMT): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
The [[VMT command]] '''$model''' flags a material for use on models, rather than a [[brush]]. It is necessary for any material used as a model skin.
The [[VMT command]] '''$model''' flags a material for use on models, rather than a [[brush]]. It is necessary for any material used as a model skin.
{{note|Not to be confused with the [[QC command]] [[$model (QC)]].}}


== VMT syntax example ==
== VMT syntax example ==

Revision as of 12:13, 31 March 2008

The VMT command $model flags a material for use on models, rather than a brush. It is necessary for any material used as a model skin.

Note.pngNote:Not to be confused with the QC command $model (QC).

VMT syntax example

$model 1
Tip.pngTip:Remember that the basic shader type for all models is VertexLitGeneric and a model's VMT and VTF files should be stored in materials/models/. See also Materials for models.