Basic TOON SHADER In UNITY Using Shader Graph - Unity Lazy Tutorial

Hi, I’m stealing the “Lazy Tutorial“ naming from the great Ian Hubert. This is not a proper tutorial, more of a rundown of how I achieved this effect. #indiegame #gamedev #unity Please consider supporting me by following me over at Custom Function node HLSL code: #if SHADERGRAPH_PREVIEW Direction = half3(0.5, 0.5, 0); Color = 1; #else Light light = GetMainLight(); Direction = ; Color = ; game endif if you get an error, try this (thanks to John Pitaniello in the comments): #if defined(SHADERGRAPH_PREVIEW) Direction = half3(0.5, 0.5, 0); Color = 1; #else Light light = GetMainLight(); Direction = ; Color = ; #endif Twitter: Discord Server: store page: If you liked this video, you migh
Back to Top