This script will greatly reduce the time you spend on applying override materials, especially for those of you who want to re-use the same materials override setup across multiple projects. This script will allow you to load/save override materials configurations as json-files.
If you don't know about override materials, there's a good tutorial here:
Once added to SFM, the script can be accessed from the animation set rig menu.
For more information on loading/saving override configurations, please refer to the "Help" option.
Four template files are included. These can be used to apply the same common attribute to all materials. The main idea behind these is to remove the time it takes to manually apply these attributes using the clunky GUI provided by the element viewer.
Adds the attribute $alpha as a float and sets it to 0 for all materials. This will probably render the animation set (or at least the majority of it) invisible. This can come in handy when you want to hide materials but don't know which one, since deleting attributes using the element viewer is way quicker than adding new ones. This philosophy applies to the other templates as well.
Adds the attribute $basetexture as a string and sets it to "" for all materials. This will render the animation set as untextured. override texture files can be set from the element viewer.
Adds the attribute $color as a color and sets it to RGBA(0,0,0,255) for all materials. This will make the animation set all black. You can specify colors for all materials in the element viewer.
Adds the attributes $phongboost and $phongexponent as floats and sets them to 0 for all materials. You can add/remove/edit the values for each individual material from the element viewer.
You need to be logged in to leave a comment.