Note: This page is subject to change during the 2019.1 beta cycle.

Shaders in LWRP

Note: While LWRP is in preview, this documentation might not reflect the end-result 100%, and is therefore subject to change.

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-PBR rendering.

For PBS, use the [[Lit shader | lit_shader#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 | simple_lit_shader#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.