just to show a bit more of my shader, it's not just a texture I created specifically for the hollow knight model! It works on any kind of 3D model : I blend 3 different textures that I mask with the lighting and other parameters ποΈ
I really love this outline it gives a very neat effect even with a flat unlit material!
01 - Get the shadow information: I used a dot product between the world normal and the directional light direction. I also added parameter to change the offset and sharpness to have better control!