Output
Similarly, when a published SBSAR file includes this graph, then that file can output that image in any integration or plugin which consumes the file.
It has a single input slot that is type-agnostic, which means it types itself after the data type connected to it.
It has no parameters, but rather attributes that are of great importance for properly labeling the output and putting it to its intended use.
Every Substance graph must have at least one Output node. If no output exists, the graph can never return an actual result and a warning is raised.
Attributes
Integration attributes
These are attributes which are meant to be used by integrations/plugins which consume the graph in a published SBSAR file.
As such, they have no impact on the format of bitmap exports. Additionally, only the Usage attribute is used in Designer, see below for details.
Usage
Defines the type and usage of the output node. This property is important as it drives:
- Connection of nodes in Substance graphs when using some link creation modes
- Connection of textures to shaders in the 3D View (see below: ‘About the role of usages in the 3D View’)
- Connection of textures to materials in integrations/plugins
About the role of usages in the 3D View
Since graph outputs are often intended to be the final result for a specific texture channel, outputs can be automatically sent to the appropriate sampler of the shader used in the 3D View.
Indeed, an output which Usage property matches a sampler usage in the 3D View will be connected to that sampler. E.g., an Output with a basecolor usage will be connected to the basecolor sampler of the 3D View shader. Learn more in the View data in the 3D View section of the 3D View page.
Click RMB on an empty area in the Graph view and select the View outputs in 3D view option in the contextual menu to connect all outputs to 3D View samplers with matching usages.
Default output
When a graph has more than one output, one of those can be set as the default output for that graph. This specifies which of the outputs should be used for:
- The thumbnail of any instance node representing that graph
- Viewing these instance nodes in the 2D View
- The thumbnail of that graph in the Library (learn about adding your own resources here)
This feature lets you arrange graph outputs in any order independently from how the graph will be visualised as a node.
To set an Output node as a graph’s default output:
- Right-click on an Output node and select the ‘Set as default output’ action in the contextual menu.
- In the Output node’s properties, use the ‘Set as default’ button in the header of the ‘Attributes’ section.
Here is an example of instance nodes before and after setting a default output: