$model (VMT): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (swapped template for modern counterpart. rearranged where the confusion template is)
m (→‎See also: clean up, replaced: See Also → See also)
Line 8: Line 8:
  $model 1
  $model 1


== See Also ==
== See also ==
*[[Materials for models]]
*[[Materials for models]]

Revision as of 01:36, 6 January 2024

English (en)한국어 (ko)Translate (Translate)

Template:Shaderparam 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