Caution
This plugin is still in very early alpha / active development. I make no gaurentees of stability or reverse compatibility.
A plugin for Substance 3D Designer that allows one to do bulk exporting of materials into the Source Engine's VTF format.
The goal of this plugin is to speed up the workflow for texture artists using Substance Designer for Source Games.
- Find the latest release: https://github.com/p-hennessy/Substance-VTF-Exporter-Plugin/releases
- Download the
vtf_exporter.sdplugin
file - In Substance Designer, open the Tools Menu and click on "Plugin Manager"
- Use the "Install..." button and find the sdplugin file
- If it installed correctly there should now be a "VTF Exporter" dock. If it does not appear automatically you can find it by looking in the "Windows" menu.
- Export bulk textures to VTF format
- Saves settings per graph.
- Export VMT's along with textures
- Support for multiple VTF compression formats
- Import VTF as Bitmap node
- Export a single texture directly to VTF
- Output animated VTF driven by input variables
This plugin works through Substance Designer Parameter Presets.
You will need to define at least one preset for it to work.
For each preset, it will export each of the outputs in your graph. You must have at least one output node in the graph.
The plugin outputs at the texture resolution that the final output node has. If you want a smaller resolution texture then it needs to be scaled down before the output node.
The naming pattern is as follows:
{graph_name}_{preset_name}_{output_name}.vtf
- Graph name: "brick001"
- Presets: "red" "yellow" and "blue"
- Outpus: "diffuse" and "normal"
Outputs:
- brick001_red_diffuse.vtf
- brick001_red_normal.vtf
- brick001_yellow_diffuse.vtf
- brick001_yellow_normal.vtf
- brick001_blue_diffuse.vtf
- brick001_blue_normal.vtf
These config's are stored at:
- Windows:
C:/Users/<USER>/AppData/Roaming/Allegorithmic/Substance Designer/vtf_exporter/
- Linux:
/home/<USER>/.local/share/vtf_exporter
- OSX:
/Users/<USER>/Library/Application Support/vtf_exporter
Graph's configurations will use Substance Designer's built in UUID's as their filenames.
vtex location
This is needed so the plugin can convert to VTF format.This vtex program comes with any source game.
Mine is located here: C:/Program Files (x86)/Steam/steamapps/common/Team Fortress 2/bin/vtex.exe
More info on vtex: https://developer.valvesoftware.com/wiki/VTEX_(Source)/en