Shaders in LWRP | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Shaders in LWRP

    The Lightweight Render Pipeline uses a different shading approach than the Unity built-in Render Pipeline. As a result, built-in Lit and custom Lit shaders do not work with the LWRP. Instead, LWRP has a new set of standard shaders. LWRP provides the following shaders for the most common use case scenarios:

    • Lit
    • Simple Lit
    • Baked Lit
    • Unlit
    • Particles Lit
    • Particles Simple Lit
    • Particles Unlit
    • Autodesk Interactive
    • Autodesk Interactive Transparent
    • Autodesk Interactive Masked

    Upgrade advice: If you upgrade your current Project to LWRP, you can upgrade built-in shaders to the new ones. Unlit shaders from the built-in render pipeline still work with LWRP.

    Note: Unlit shaders from the Unity built-in render pipeline work in LWRP.

    Choosing a Shader

    With the Lightweight Render Pipeline, you can have real-time lighting wither either Physically Based Shaders (PBS) and non-Physically Based Rendering (PBR).

    For PBS, use the Lit shader. You can use it on all platforms. The shader quality scales, depending on the platform, but keeps physically based rendering on all platforms. This gives you realistic graphics across hardware. The Unity Standard Shader and the Standard (Specular setup) Shaders both map to the Lit Shader in LWRP. For a list of Shader mappings, see Shader mappings

    If you’re targeting less powerful devices, or just would like simpler shading, use the Simple Lit Shader, which is non-PBR.

    If you don’t need real-time lighting, or would rather only use baked lighting and sample global illumination, choose a Baked Lit Shader.

    If you don’t need lighting in on a material at all, you can choose the an Unlit Shader.

    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