Using LayerStacks
Generating layered materials and editing per-layer parameters with LayerStacks.
A LayerStack generates a layered material using a LayerGraph.
See What is a LayerStack for how it relates to the rest of the system.
Creating a LayerStack
A LayerStack can be created from the filesystem or a material slot.
Generating a layered material
Drop a LayerGraph into the LayerGraph slot and press Generate.
Editing parameters per layer
Use the dropdown to cycle between each layer and change its material parameters.
Syncing uniforms
The Sync Uniforms toggle controls whether material parameter changes from the LayerGraph are pushed to the LayerStack. Turning it off lets the LayerStack control its own material parameters.
Disabling layers
You can disable any layer freely, without editing the LayerGraph. This requires LayerStack re-generatation.
Reusing generated shaders
You can save the generated StackShader and reuse it in other LayerStacks that share the same LayerGraph and layer active status.