How it works
Architecture Overview
The Material Layers architecture, top to bottom.
The Material Layers architecture, top to bottom.
LayerStack > LayerGraph > LayerNodes > LayerMaterials > LayerShaders
LayerShader: Thegdshadercode that makes everything work. You write normalgdshader, with a few additions to connect it to the layer chain. See What are LayerShaders.LayerMaterial: Material resource that uses aLayerShader. Each type has its own purpose. See What are LayerMaterials.LayerNode: Contains aLayerMaterialfor use in aLayerGraph. See What is a LayerGraph.LayerGraph: Node graph resource containingLayerNodes. The layering work is done here. See What is a LayerGraph.LayerStack: Uses aLayerGraphto generate the layered material. See What is a LayerStack.