Graph Optimization - Substance Designer Plugin
Currently supported versions:
Substance Designer 2019.1.0 +
This plugin automates some of the typical graph optimizations and clean up tasks that artists do when working with Designer. It is fully integrated into the main UI and is designed to reduce the repetitive grunt work for you.
INSTALL
1. Extract the contents of the .rar into your user plugins folder located in User Documents.
Example:
C:\Users\Ben\Documents\Allegorithmic\Substance Designer\python\sduserplugins
2. Restart Substance Designer
USAGE
The plugin should be visible under tools > plugin manager and also in a new window in the UI.
If you do not see the new window, you need to reset the UI
1. Make a selection of nodes
2. Press optimize
If no nodes are selected, the plugin will run on the entire graph
Undo is supported
Please report any bugs or questions to ben.q.wilson@gmail.com
PLUGIN SETTINGS
Global Settings:
Optimize - Runs the plugin based on the settings defined
Detailed Log - Prints more detailed information to the console, useful for debugging
Uniform Color Nodes:
Remove Duplicates - If checked, will remove any duplicate color nodes. For a node to be considered a duplicate, it must share the exact same settings as another and not have any function graphs attached.
Output Size (16x16) - If checked, will force all uniform color nodes output size to 16x16.
Blend Nodes:
Ignore Alpha (Grayscale only) - If checked, will set the alpha blending to ignore alpha if both inputs are grayscale. Note: This requires the graph to recompute, so may take longer to process.
Composite Nodes:
Remove Duplicates - If checked, will remove any duplicate composite nodes. For a node to be considered a duplicate, it must share the exact same settings as another and not have any function graphs attached.
Evaluate Input Chain - If checked, will also evaluate composite nodes with inputs. This means a node chain can be recognized as a duplicate setup and removed.
Thank you for the support and helping me develop the tool!