docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Layered lit material

    The Layered Lit Shader allows you to stack up to four Materials on the same GameObject in the High Definition Render Pipeline (HDRP). The Materials that it uses for each layer are HDRP Lit Materials. This makes it easy to create realistic and diverse Materials in HDRP. The Main Layer is the undermost layer and can influence upper layers with albedo, normals, and height. HDRP renders Layer 1, Layer 2, and Layer 3 in that order on top of the Main Layer. For more information about Materials, Shaders, and Textures, see the Unity User Manual.

    The Layered Lit Shader is perfect for photogrammetry. For a tutorial on how to use it in a photogrammetry workflow, see the Photogrammetry with the Layered Shader Expert Guide.

    Creating a Layered Lit Material

    To create a new Layered Lit Material, navigate to your Project's Asset window, right-click in the window and select Create > Material. This adds a new Material to your Unity Project's Asset folder. Materials use the Lit Shader by default. To make Materials use the Layered Lit Shader:

    1. Click on the Material to view it in the Inspector.
    2. In the Shader drop-down, select HDRP > LayeredLit.

    Refer to Layered Lit Material Inspector reference for more information.

    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)