$model (VMT): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (WisdomBot moved page $model (VMT) to $model (VMT)/en: Moved to {{Multipage}} compliant page name. This action was perfomed by a bot under supervision.)
mNo edit summary
Line 1: Line 1:
{{langsp}}
{{langsp}}
{{Shaderparam|$model}} It marks a material as for use on a [[model]] rather than a [[brush]].
{{Shaderparam|$model}} It marks a material as for use on a [[model]] rather than a [[brush]].
{{ModernConfusion|There is also a {{ent|$model (QC)|alt=$model}} command for [[QC]] files.}}
{{ModernConfusion|There is also a {{ent|$model (QC)|alt=$model}} command for [[QC]] files.}}
Line 11: Line 10:
== See also ==
== See also ==
*[[Materials for models]]
*[[Materials for models]]
{{Uncategorized|date=January 2024}}

Revision as of 18:50, 15 May 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