I’m trying to create a toon shader using Shadergraph and I came across a tutorial using Shader Forge which looked really simple compared to the ones using shadergraph.
They are using light direction and normal direction nodes and performing a dot multiplication to get a standard lit shader and then adding a step value would give a toon shader.
Is there a node that is equivalent to Normal Dir node in Shadergraph that gets the normal vectors from the object’s surface?
You need normal vector node and set it to world space. Thats the equivalent of the one he is using in the video at 4 min.
2 Likes
I do this in shader graph in this tutorial. https://alexanderameye.github.io/toon-shading/index.html
1 Like