Zallist / unity.zallist.universal-simple-lit-shadergraph-target

This plugin simply adds a Simple Lit material (SubTarget) to the Universal target for Shader Graph for URP
Other
85 stars 14 forks source link

Initial URP 12 support added (Issue #5) #6

Closed bmourit closed 2 years ago

bmourit commented 2 years ago

This is somewhat ugly with all the ifdefs, but works for now. I've added "SimpleLit" where relevant in the code where it replaces "Lit" or "PBR". If this isn't wanted let me know.

Zallist commented 2 years ago

#ifdef inside C# code isn't supported (news to me), did a quick commit to swap them all to just #if Also there were still some references to LitDefines and Lit* functions which hadn't changed to SimpleLit. Also fixed in commit https://github.com/Zallist/unity-universal-shadergraph-extensions/commit/30ddad4e235f42bfc35f6e0ab256637eaae362c9

Zallist commented 2 years ago

But otherwise, now confirmed working on URP 13 and 12. I guess.