Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.

$model (VMT)

From Valve Developer Community
Jump to: navigation, search
English (en)한국어 (ko)
Edit

$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