Blender3D Toon Shader

Blender3D Texture Toon Shader
This is a simple tutorial on using color ramp to create Blender3D toon shader with rim light. Using procedural texture to "distort" the terminator line in toon shader will also give an interesting result. Quick way to add outline to the model is by using the solidify modifier.

Blender3D Texture Toon Shader

Below is a compilation of test shot I did using Blender3D internal render. Scroll down for tutorial!

Toon Shader

Beside the default toon shader, we can create one from the default Diffuse Lambert by using Color Ramp.

Blender3D Texture Toon Shader
  1. Enable Ramp.
  2. Change Linear to Constant.
  3. Change Shader to Result.

This step can be done in the node using Converter > ColorRamp node too.

Texture Toon Shader

Adding texture to the material just now will create an interesting pattern on the toon shader!

Blender3D Texture Toon Shader
  1. Add a procedural texture to the same shader/material we just create.
  2. Voronoi will create this dotted pattern.

Rim Light

Rim light is another interesting feature to add on our toon shader rendering.

Blender3D Texture Toon Shader
  1. Create another ColorRamp toon material.
  2. Enable Ramp.
  3. Change Linear to Constant.
  4. Change Shader to Normal.

Blender3D Texture Toon Shader
  1. Enable node setting for our first toon shader. (not the rimlight shader)
  2. Use (SHIFT-A) Color > MixRGB (ADD), node to setup the node tree.(Refer to image)

Rim Light

Outline can be render with Freestyle or using Solidify modifier.

Blender3D Texture Toon Shader
  1. Add another shader to our model. This will be the shader use for the outline.
  2. Enable Transparency
  3. Enable node setting for our outline shader.
  4. Plug (SHIFT-A)Input > Geometry (Front/Back), node to Output (Alpha).(Refer to image)

Blender3D Texture Toon Shader
  1. Add Solidify modifier to our model.
  2. Set Material Index Offset number. This is base on the location of our outline shader. If it is the second one, set it to one because the sequence start at zero.
  3. Enable Flip Normals.
  4. Adjust Thickness.

For Freestyle outline render, you only need to enable it and play with it settings. But it is a whole big topic on it own, so I won't be showing them here.


You can download a sample blendfile in blendernpr download page. But the file is without outline render.


Youtube Blender3D Texture Toon Shader


Popular Posts