$model (VMT)

From Valve Developer Community
Revision as of 11:40, 31 March 2008 by Beeswax (talk | contribs)
Jump to navigation Jump to search

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.

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.