docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Vertex Context reference

    This Context represents the vertex stage of a shader. Any Node you connect to a Block in this Context becomes part of the final shader's vertex function.

    Compatible Blocks

    This section lists the Blocks that are compatible with Vertex Contexts in the High Definition Render Pipeline (HDRP). Each entry includes:

    • The Block's name.
    • A description of what the Block does.
    • Settings in the Graph Settings menu that the Block is relevant to. If you enable these settings, Shader Graph adds the Block to the Context; if you disable the setting, Shader Graph removes the Block from the Context. If you add the Block and do not enable the setting, Shader Graph ignores the Block and its connected Nodes when it builds the final shader.
    • The default value that Shader Graph uses if you enable the Block's Setting Dependency then remove the Block from the Context.
    Property Description Setting Dependency Default Value
    Position The object space vertex position per vertex. None CoordinateSpace.Object
    Normal The object space vertex normal per vertex. None CoordinateSpace.Object
    Tangent The object space vertex tangent per vertex. None CoordinateSpace.Object
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)