Add a Sub Graph to a shader graph
To add a Sub Graph to a shader graph, use one of the following approaches:
- Drag the Sub Graph asset from the Project window into the Shader Graph window.
- In the Shader Graph window, right-click to open the context menu, then select Create Node > Sub Graph and the name of your Sub Graph.
Unity adds a Sub Graph node to the shader graph. For more information, refer to Sub Graph Node.
Change the location in the Create Node menu
To change the location of the Sub Graph in the Create Node menu, follow these steps:
- Open the Sub Graph asset.
- In the blackboard, select the gray Sub Graphs label.
- Type the name of another folder from the Create Node menu, for example Artistic.