微信截图_20190719155525.png
微信截图_20190719155637.png
微信截图_20190801155904.png

·Instead of use the value of toon ramp in the shader, this shader use saturate to combine shadow and light, and clamp the result between 0 and1;

·Use the texture with several circular gradients pattern, and get the half toon value from the texture value and screen position, then, combine shadow and light;

·If the lightness is brighter than the halftoon texture value, the pixel will be lighted, otherwise, the pixel will be shadowed.

Study reference

微信截图_20190719155601.png
Toon Dot Shader