docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Raytracing Quality Keyword

    The Raytracing Quality Keyword allows you to provide a fast implementation of your Shader Graph to be use with ray-traced effects to tradeoff accuracy for speed, except for Path-Traced effect which won't be affected and use the default path.

    Adding the Raytracing Quality Keyword

    The Raytracing Quality Keyword is a Built-in Keyword.

    To add the Raytracing Quality Keyword to the graph:

    1. In the Blackboard, click plus (+).
    2. Go to Keyword > Raytracing Quality. This creates the keyword and makes it visible on the Blackboard.

    Using the Raytracing Quality Keyword

    To use this keyword in the graph, you need to create a Keyword Node. To do this, drag the Raytracing Quality Keyword from the Blackboard to the graph or open the Create Node Menu and search for Raytracing Quality .

    Available Ports

    Name Direction Type Description
    default Input Vector4 The value to use for the normal Shader Graph. This is the default path Unity uses to render this Shader Graph.
    raytraced Input Vector4 The value to use for the fast Shader Graph to use with the ray-traced effects excepth the path traced one.
    output Output Vector4 Outputs is the value which will be selected based on the context this shader graph is used.
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)