Shader Graph Preferences | Shader Graph | 9.0.0-preview.72
docs.unity3d.com
    Show / Hide Table of Contents

    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.
    Automatically Add or Remove Block Nodes Toggle either on or off. If this option is on, when changing Graph Settings any needed Block nodes will be added to the Master Stack. Any incompatible Block nodes that have no incoming connections will be removed from the Master Stack. If this option is off, no Block nodes will be added to or removed from the Master Stack.
    Enable Deprecated Nodes Enable this setting to turn off warnings for deprecated nodes and properties, which also allows you to create older versions of nodes and properties. If you don't enable this setting, Shader Graph displays warnings for deprecated nodes and properties, and any new nodes and properties you create use the latest version.
    In This Article
    • Settings
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023