3D Blender CellShader
What is this?
This is a Shader created in blender to recreate the traditional cartoon/anime style. This makes the shadows either lit or unlit, it creates an outline around the character or the object and it adds a Rimlight around the edges of the character
The Shader
The shader has multiple components, and mostly exists out of Math nodes and multiply's. The nodes take in a couple of textures: A base texture, A shadow texture/color, an AO map. A specular map, and a rimlight color. These are then all calculated and mixed with a series of mathematical nodes and mix nodes.
The rimlight is calculated almost in the same manner as the rest of the shader, with the exception of it being on the edges.
The Outline
Normally the outline's would be done by manually copying the mesh, extruding it, flipping the normals and then making the material black. I have created a geometry node outline which does all of this in a few simple button clicks