$model (VMT): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{otherlang2
|ko = $model (VMT):ko
}}
The [[material]] parameter '''$model''' marks a material as for use on a [[model]] rather than a [[brush]].
The [[material]] parameter '''$model''' marks a material as for use on a [[model]] rather than a [[brush]].



Revision as of 03:46, 12 March 2014

Template:Otherlang2

The material parameter $model 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