6
votes

I'm using new Unity's Lightweight rendering pipeline.
After creating a material with a new surface shader, created from the drop-down menu, all I see is a pink color.
There is no information at all about creating shaders for LWRP. It looks like unlit shaders are supported without issues, but what about surface shaders?

1
It doesn't seem like. Note from doc "Note: Built-in and custom Lit Shaders do not work with the Lightweight Render Pipeline. Instead, LWRP has a new set of standard shaders . If you upgrade a current Project to LWRP, you can upgrade built-in shaders to the new ones." - Programmer
@Programmer I would expect it to be mentioned explicitly, with some examples of how to migrate surface shaders to LWRP. - Taras Kohut
It's still new and can change anytime. I am sure they will add more information about that when it's mature enough. - Programmer

1 Answers

2
votes

According to Feature Comparison Table, Surface Shaders are not supported in LWRP.

I didn't find examples of surface shaders migration.

Feature                 | Unity Built-in render pipeline | LWRP

Surface Shaders | Yes                                             | Not supported