aushy1
1
Hello,
Could someone help me upgrade the custom lighting function in this tutorial?
To URP 10+. I get the error #if SHADERGRAPH_PREVIEW is an invalid conditional expression
Also if anyone could point me in the direction where I could learn more it would be greatly appreciated
Changing #if
to #ifdef
fixed it for me
How we built the toon shading | Open Projects Devlog - YouTube there is a new version of the node in this official video from unity
@aushy1 sorry, but did you fix it? i have the same