When a layer instance is created, the original layer (or source layer) is used to replicate parameters across all the existing instances. Only the source layer can be modified.
Any paint actions (brush strokes, polygon fill, etc.) will only work on the Texture Set where the source layer is located. Other Texture Sets that have an instance of this layer will simply discard the paint actions.
Creating a layer instance
To create a layer instance :
- Select any existing layer
- Copy the layer (CTRL+V)
- Paste is as an instance (use CTRL+SHIFT+V or right-click to open the context menu and choose "Paste as instance")
Instance can be created from any layer, this includes folders. Instancing a folder can be an easy way to replicate multiple layers across various Texture Sets. Adding layers inside an instance folder will also replicate them into existing instances.
Once an instance has been created, the source layer will display a new button with two plain cards, while the instanced layer will display two empty cards :
This new button can be used to navigate between a source layer and its instances more easily, without having to manually switch between Texture Sets (see below).
Creating an instance across Texture Sets
It is possible to create a layer instance on multiple Texture Sets in one action, avoiding to copy/paste it manually. This is especially useful for UDIM project configuration.
To create an instance across multiple Texture Sets :
- Select any existing layer
- Right-click on the layer to open the context menu
- Choose "Instantiate across texture sets"
- In the new window, check which Texture Sets needs to receive an instance.
- Click OK to validate and create the instances.
The exclamation point next to a Texture Set name indicates a channel mismatch. It means that if an instance is created in this Texture Sets, it will not render correctly because a channel is missing.
Switching between an instance and its source
Since an instance can only be updated by editing the source (because of technical reasons), it is mandatory to select the source layer to edit its properties.
This can be done by clicking on the instance properties button on the layer in the layer stack.
When clicking on an instance properties button, it will switch the properties window from the current tool/layer to a list displaying a source layer and its instances.
Clicking on any element of the list to automatically jump to this layer. This will automatically change the current Texture sets selected to the right one as well.
Using the instance tree list is the best way to quickly go from an instance to its source while seeing the dependencies at the same time.
Instance cycles (and how to solve them)
Cycles are instances that are used into the source layer itself either directly or indirectly. Cycles cannot be computed by the Substance Painter engine and therefor require to be disabled until fixed or removed.
In this example, the instance of the source layer is moved inside it (because it is a folder). The instance becomes broken because in order to generate its parameters we need to query the parameters from the source, which depends of the parameters from the instance. This create a cycle that cannot be solved automatically. The instance becomes disabled.
The only way to fix a cycle is to either move the instance outside the folder or to delete it.
Layer instances can be used in source layers as long as the the instance itself refer to a different source layer.