docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Normal Vector node

    The Normal Vector node outputs the normal of a vertex or fragment of a mesh.

    For more information about normals, refer to Normal maps.

    Ports

    Name Direction Type Binding Description
    Out Output Vector 3 None The normal of the vertex or fragment of the mesh, depending on the shader stage of the graph section.

    Space

    The Space dropdown determines the coordinate space of the normal vector.

    Option Description
    Object Returns the vertex or fragment normal in object space, where up is the up axis of local space.
    View Returns the vertex or fragment normal in view space, where up is the up direction of the camera.
    World Returns the vertex or fragment normal in world space, where up is the up direction of the scene.
    Tangent Returns the vertex or fragment normal in tangent space, where up is away from the surface of the mesh.
    In This Article
    Back to top
    Copyright © 2025 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)