docs.unity3d.com
    Show / Hide Table of Contents

    Built In Blocks

    Vertex Blocks

    Name Type Binding Description
    image Position Vector 3 Object Space Position Defines the absolute object space vertex position per vertex.
    image Normal Vector 3 Object Space Normal Defines the absolute object space vertex normal per vertex.
    image Tangent Vector 3 Object Space Tangent Defines the absolute object space vertex tangent per vertex.
    image Color Vector 4 Vertex Color Defines vertex color. Expected range 0 - 1.

    Fragment Blocks

    Name Type Binding Description
    image Base Color Vector 3 None Defines material's base color value. Expected range 0 - 1.
    image Normal (Tangent Space) Vector 3 Tangent Space Normal Defines material's normal value in tangent space.
    image Normal (Object Space) Vector 3 Object Space Normal Defines material's normal value in object space.
    image Normal (World Space) Vector 3 World Space Normal Defines material's normal value in world space.
    image Emission Vector 3 None Defines material's emission color value. Expects positive values.
    image Metallic Float None Defines material's metallic value, where 0 is non-metallic and 1 is metallic.
    image Specular Vector 3 None Defines material's specular color value. Expected range 0 - 1.
    image Smoothness Float None Defines material's smoothness value. Expected range 0 - 1.
    image Ambient Occlusion Float None Defines material's ambient occlusion value. Expected range 0 - 1.
    image Alpha Float None Defines material's alpha value. Used for transparency and/or alpha clip. Expected range 0 - 1.
    image Alpha Clip Threshold Float None Fragments with an alpha below this value are discarded. Expected range 0 - 1.
    Back to top
    Terms of use
    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