$model (VMT): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
*[[$model (QC)]]
*[[$model (QC)]]


[[Category:List of Shader Parameters|m]]
[[Category:List of Shader Parameters|M]]

Revision as of 13:34, 12 July 2008

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