Shader Graph Preferences
Use the Shader Graph preferences to define shader graph settings for your system. To access the Shader Graph system preferences, do the following:
- From the main menu select Edit > Preferences (macOS: Unity > Settings). The Preferences window is displayed.
- Select Shader Graph.
Settings
| Name | Description |
|---|---|
| Preview Variant Limit | Sets the maximum number of variants allowed in local projects. This is a local version of the Shader Variant Limit in the project settings. If your graph exceeds this maximum value, Unity returns the following error: Validation: Graph is generating too many variants. Either delete Keywords, reduce Keyword variants, or increase the Shader Variant Limit in Preferences > Shader Graph. For more information about shader variants, refer to Making multiple shader program variants. For more information about the Shader Variant Limit, refer to Shader graph project settings |
| Automatically Add and Remove Block Nodes | Adds to the Master Stack any needed Block nodes and removes from the Master Stack any Block nodes with no incoming connections. |
| Enable Deprecated Nodes | Disables warnings for deprecated nodes and properties. When enabled, Shader Graph doesn't display warnings if your graph contains deprecated nodes or properties. When disabled, Shader Graph displays warnings for deprecated nodes and properties, and the new nodes and properties you create use the latest version. |
| Zoom Step Size | Adjusts how much the Shader Graph camera zooms with each mouse wheel movement. This helps balance zoom speed, since touchpads can zoom much faster than regular mouse wheels. Only affects materials created automatically, such as when you make a new shader graph from a Decal Projector or Fullscreen Renderer Feature. |
| Graph Template Workflow | Sets whether Unity creates new materials as material variants from the child asset of the shader graph asset, or as standalone materials. The options are:
|
| Open new Shader Graphs automatically | Makes Unity open the Shader Graph window immediately after you create a new shader graph asset. When disabled, Unity does not open the window, and you must open the graph manually. |
| New Nodes Preview | Makes Shader Graph automatically expand the preview area for any newly created node that supports previews. When disabled, Shader Graph does not expand previews, but you can expand them manually. |