PBR Master Node | Shader Graph | 8.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    PBR Master Node

    Description

    A Master Node for physically based rendering. Can be used in either Metallic or Specular workflow modes as defined by the Workflow dropdown parameter.

    By default, Shader Graph expects the values you supply to the input Normal to be in tangent space. Use the Transform Node to convert the values to tangent space, or use the Fragment Normal Space drop-down menu in the Material Options to change the expected coordinate space to Object or World.

    Ports

    Name Direction Type Stage Binding Description
    Position Input Vector 3 Vertex None Defines the absolute object space vertex position per vertex.
    Albedo Input Vector 3 Fragment None Defines material's albedo value. Expected range 0 - 1.
    Normal Input Vector 3 Fragment Tangent Space Normal Defines material's normal value. Expects normals in tangent space.
    Emission Input Vector 3 Fragment None Defines material's emission color value. Expects positive values.
    Metallic Input Vector 1 Fragment None Defines material's metallic value where 0 is non-metallic and 1 is metallic. Only available in Metallic Workflow mode.
    Specular Input Vector 3 Fragment None Defines material's specular color value. Expected range 0 - 1. Only available in Specular Workflow mode.
    Smoothness Input Vector 1 Fragment None Defines material's smoothness value. Expected range 0 - 1.
    Occlusion Input Vector 1 Fragment None Defines material's ambient occlusion value. Expected range 0 - 1.
    Alpha Input Vector 1 Fragment None Defines material's alpha value. Used for transparency and/or alpha clip. Expected range 0 - 1.
    Alpha Clip Threshold Input Vector 1 Fragment None Fragments with an alpha below this value will be discarded. Requires a node connection. Expected range 0 - 1.

    Material Options

    PBR Master Node material options can be accessed by clicking the cog icon in the top right corner of the PBR Master Node.

    Name Type Options Description
    Workflow Dropdown Metallic, Specular Defines workflow mode for the material.
    Surface Dropdown Opaque, Transparent Defines if the material is transparent.
    Blend Dropdown Alpha, Premultiply, Additive, Multiply Defines blend mode of a transparent material.
    Fragment Normal Space Dropdown Tangent, Object, World Defines the coordinate space of the value supplied to the Normal slot.
    Two Sided Toggle True, False If true, both front and back faces of the mesh are rendered.
    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