Closed bmourit closed 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
But otherwise, now confirmed working on URP 13 and 12. I guess.
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.