$model (VMT): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Changed to use Shaderparam template)
m (updated language bar.)
Line 1: Line 1:
{{otherlang2
{{lang|$model (VMT)}}
|ko = $model (VMT):ko
{{confusion|The {{ent|$model (QC)|alt=$model}} command for [[QC]] files.}}
}}


{{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]].


It is only necessary with shaders that could apply to either, like [[UnlitGeneric]] or [[Refract]].
It is only necessary with shaders that could apply to either, like {{ent|UnlitGeneric}} or {{ent|Refract}}.
 
== VMT syntax example ==


== VMT Syntax Example ==
  $model 1
  $model 1


== See also ==
== See Also ==
 
*[[Materials for models]]
*[[Materials for models]]
*[[$model (QC)]]
[[Category:List of Shader Parameters|M]]

Revision as of 18:05, 10 June 2022

English (en)한국어 (ko)Translate (Translate)
Warning.pngRisk of Confusion:The $model command for QC files.

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