Test of analog drawing style shader on Unity
Unityでのドローイング風シェーダーのテスト
Tools: Unity (Built-in Render Pipeline), Shaderlab (Cg), Houdini, Affinity Photo

The shader code is available from the link below;
シェーダーは以下のリンクよりご覧頂けます。
Weight of the outline is baked as vertex color of the 3d model,
then it's applied for outline width in a shader.
What I figured out today is SideFX Labs Auto UV SOP generates a nice curvature attribute for this purpose. (the right one on the image)
When it is compared to the left one, which I messed the curvature calculation up, it gives more natural look.
Back to Top