Create a new shader graph from a template
To create a shader graph from a template, use the Template Browser window. You can then adapt the shader graph to your needs.
You can also share custom templates with your team through the Template Browser window, to maintain consistency across shaders in a project. This feature is particularly useful for projects with unique lighting setups or specific shader requirements.
The Template Browser window displays only templates that are compatible with the current project.
Create a new shader graph using a template
To create a new shader graph using a template:
In the Project window, right-click and select Create > Shader Graph > From Template....
The Template Browser window opens.
Select the desired template.
Unity creates a new shader graph asset.
Name the shader graph asset and edit it.
Create a custom shader graph template
To create a custom shader graph template:
Select a shader graph asset in your project.
In the Inspector window, enable Use As Template.
Expand the Template foldout (triangle).
Set the metadata that describes the template in the Template Browser window.
Click anywhere in the Project window to preview and save the template metadata.