T.TAO
Back to Blog
/1 min read/Others

Unity Shader #7 Anime Toon Shader

This post mainly covers Shaders for Japanese-style cartoon rendering (also called anime-style rendering). The Shaders here run under URP.

Anime-style rendering can be divided into two main parts: the first is outlining (drawing the contour lines), and the second is shading.

Outlining

The basic principle for implementing anime-style outlining is to expand the vertex normals outward by a certain distance. The process of implementing outlines generally involves the following steps:

Shading

Extend normals > Cull front faces > Optimize performance by adjusting render order > Adjust distance-based variation > Fix outline breaks > Control outline thickness