From Valve Developer Community
Revision as of 18:45, 8 June 2019 by Deprecated (talk | contribs) (Changed to use Shaderparam template)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

$model is a material shader parameter available in all 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