Materials override

From Valve Developer Community
< SFM
Revision as of 16:52, 3 April 2023 by Alope (talk | contribs) (Revamping this page, currently work in progress. There is a LOT of information missing here that needs to be added.)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)

To add materials override you need to right click on animation set and select "Add override materials". This will allow you to see "materials" folder if you open this model in Element Viewer. There you will be able to open any material and add some custom attributes that will override corresponding parameter in this model VMT file.

List of attributes that could be overridden (or added) in SFM:

$basetexture<String>
VTF path for texture replacement
$phong<Float>
brightness of phong effect
$color<RGB Material Vector>
changes color of the material.

WIP - more to be added

List of attributes that cannot be overridden (or added) in SFM: WIP - to be added