CartoonShading.png
微信截图_20190719160338.png
Toon Shader

·Calculate the amount of light received by the surface from the main directional light.

·Apply the ambient light to the dark side.

·Add Specular reflection to the vertex which directly towards the camera.

·Add illumination to the edge of the object, by dot normal and the view direction, then, invert it.

Study reference