Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Shader Graph Preferences

To access the Shader Graph Project-wide settings, click **Edit** > **Preferences**, and then select **Shader Graph**.

## Settings

| Name | Description |
|:------- |:----------- |
|Shader Variant Limit| Enter a value to set the maximum number of shader variants. If your graph exceeds this maximum value, Unity throws 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, see [Making multiple shader program variants](https://docs.unity3d.com/Manual/SL-MultipleProgramVariants.html). |
1 change: 1 addition & 0 deletions com.unity.shadergraph/Documentation~/TableOfContents.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* [Color Modes](Color-Modes)
* [Precision Modes](Precision-Modes)
* [Custom Function Node](Custom-Function-Node)
* [Shader Graph Preferences](Shader-Graph-Preferences)
* [Samples](ShaderGraph-Samples.md)
* Inside Shader Graph
* [Shader Graph Asset](Shader-Graph-Asset)
Expand Down