This article's documentation is for anything that uses the Source engine. Click here for more information.

$model

From Valve Developer Community
Revision as of 10:01, 10 August 2024 by N0one (talk | contribs) (Replacing with "This is a" template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)한국어 (ko)Translate (Translate)

$model is a material shader parameter available in all Source Source games. It marks a material as for use on a model rather than a brush.

Warning.pngRisk of Confusion:There is also a $model command for QC files.

It is only necessary with shaders that could apply to either, like UnlitGeneric or Refract.

VMT Syntax Example

$model 1

See also