$model (VMT)

From Valve Developer Community
Jump to: navigation, search
Warning.png Risk of confusion: The $model command for QC files.

$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.

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

VMT Syntax Example

$model 1

See Also