Chinese-Style Water Painting Shader
Skills: Shader, Unity, Substance Painter
This shader is inspired by the following reel. In this project, I aspire to create the unique Chinese-style whater painting feeling with shader.
Two kind of outline
1. Inner outline
I started by creating the inner outline. I detect the edges by coulacting the dot product between the normal vector and the view vector


The result of the first outline shader.

This code stores the position of the vertex in each frame into textures.
2. Outter outline
Then I handled the outter outline. In this one, I used a basic vertex extrusion along the normal vector. I also played with the alpha using some noise maps.

Combine

HandPaint-Feeling Texture
After finishing the outline, in Substance Designer, I worked on the HandPaint-Feeling Texture. I created different version of brush texture, and than I conbined those bushs together while playing around with the colors.

Making different brush textures.

Playing around with brush colors.
Result

Demo