$model (VMT)

From Valve Developer Community
Revision as of 09:05, 31 March 2008 by TomEdwards (talk | contribs) (split from $model)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

$model flags a material for use on models, rather than a brush. Its exact effects are unclear.

Tip.pngTip:Remember that the basic shader type for models is VertexLitGeneric, not LightmappedGeneric.
Warning.pngWarning:Using multiple materials on the same model reduces performance. If you can, combine everything into one.
Note.pngNote:Models materials should be stored in materials/models/. The QC command $cdmaterials can be used to specify further subfolders.

Example

$model 1

See also