Substance layer
2D Generator - Extract one layer from a .sbsar Substance material
This layer is not recomended. Prefer using a a Substance PBR Surface .
This generator relies on Substance Designer .sbsar files and enables to extract one specific of the layers defining the material.
To create it you need to use the secret command.
Variables:
- File: The .sbsar file
- Graph: Which material to use inside the .sbsar (in case it contains multiple materials)
- Output: Which layer of the material to render
- Dynamic Variables: The exposed parameters from Substance
Python
Oil.createObject("SbsarFileTextureGenerator")