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

    Graph Target

    A Target determines the end point compatibility of a shader you generate using Shader Graph. You can select Targets for each Shader Graph Asset, and use the Graph Settings Menu to change the Targets.

    image

    Targets hold information such as the required generation format, and variables that allow compatibility with different render pipelines or integration features like Visual Effect Graph. You can select any number of Targets for each Shader Graph Asset. If a Target you select isn't compatible with other Targets you've already selected, an error message that explains the problem appears.

    Target Settings are specific to each Target, and can vary between assets depending on which Targets you've selected. Be aware that Universal Render Pipeline (URP) Target Settings and High Definition Render Pipeline (HDRP) Target Settings might change in future versions.

    Typically, each Target you select generates a valid subshader from the graph. For example, a Shader Graph Asset with both URP and HDRP Targets will generate two subshaders.

    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