blender www.blender.nl
this document is online at http://www.blender.nl/showitem.php?id=80
ALT
 Toon Shading Beginner  Flower pot toon shading tutorial
2000 11 27 
  Chris Garrett  id80 
This tutorial presents the techniques that I use to achieve a toon style render directly in Blender without any post production in another program. In this tutorial we will modify a basic Blender scene of a simple flower pot to look toon shaded by changing the lighting and materials. At the end the left image should look like the right image.

Begin (left), end (right)
Begin (left), end (right)
This tutorial is designed for users who have a reasonable knowledge of the use of Blender. Before you start this tutorial you should know how to add lamps, move and rotate objects and add materials to the surface of objects. If you have trouble with these concepts visit the Blender web site and examine some of the getting started tutorials first.

Before we can start you will need the flower pot model - you can download it below.

Once you have downloaded and unzipped the model open it in Blender.

Download:
 toon_shade_tutor.zip
Step 1: Lighting
The first thing we need to do to the scene is to brighten it up. When lighting a scene I use a minimum of four lights, three fill lights and one detail light. The fill lights are placed around the camera, one on each side and one behind. The detail light is a spot light placed above the scene pointing at the most important thing in the scene, it is used to highlight the subject and to supply shadows.

The lights in toon shading are particularly important, there must be enough light or brightness on the faces to supply contrast to the edges. If the edges are not visible it won't look as good.

Lamps (top/side/front)
Lamps (top/side/front)
Add three standard lamps to the scene as shown in the images above. You do not need to adjust the values of the lamps just use the defaults. The new lights are the ones highlighted in pink.
As shown here the extra lamps have added the brightness that we need, all the edges of the model are clearly visible and no face is completely black.

We now need to modify the original light to cast shadows and to point at the flower pot.


Select the original light.



Press the light button or press .

In the buttons window set the following properties for the original light.


(side/top)
(side/top)
Rotate the light so that it points at the center of the flower pot.

The lighting is now complete, the modifications to the original light have added the highlights and shadow that were needed.


Step 2: the object rendering material
I found that the toon shading looks better if objects are set to render smooth rather than solid. Setting them to render smooth appears to make the edges more defined.

Select each object in turn and click the set smooth button in the edit buttons window ().

Setting materials to auto smooth.
Setting materials to auto smooth.
Step 3: Adding Materials to objects
Now we get to the fun bit, materials. Materials in toon shading need to be flat with little or no specularity. Generally when creating materials for toon shading the colors need to contrast. Try not to create dark colors or overlap colors of similar style. The colors need to contrast so that the edges are clearly visible.

Select the flower pot model.


In the materials button window ()add a new material and give it the above values.

You may notice that the specularity is darker then the material color. Normally when creating materials you want the specularity to be brighter to give highlights, with toon shading it appears to be the opposite way around. A darker specularity appears to take away the highlights and generally makes the object look flatter.

To get a better flat look the materials hardness is dropped very low or sometimes set to 1 the lowest value. Lowering this value makes the specular highlight larger and less intense. In this case I have also dropped the Spec value to 0 so that the specular color has no effect, I am allowing the lights to give the desired highlights to the flower pot.

We also raise the Ref setting and the Amb settings (sometimes) to brighten up the face color.

There are no rules when it comes to face colors for toon shading just experiment and go with what looks best.
Floor (left) and Walls (right) materials
Floor (left) and Walls (right) materials
Now add materials to all the objects. I have printed the results here to give you some indication.
Flower stem (left) and Lower Petal (right) materials
Flower stem (left) and Lower Petal (right) materials
Upper Petals (left) and Flower Center (right) materials
Upper Petals (left) and Flower Center (right) materials
Pot Dirt material
Pot Dirt material
Once you have added all the materials to the objects you should have a scene that looks similar to the following.  It is then time to move onto the last step, the edges.


Step 4: Edges
With Ton's great addition to 1.76, the edge control, adding cartoon edges to an object is as simple as clicking a button.

Using the Display Buttons (, click in the Edge button and set the Eint: value to 150.


The higher you set the Eint: value the more edges will be outlined.  In a simple scene like this setting the value very high is not a problem, but in more complex scenes be careful how high you set it.  If the value is very high and the objects have many faces, the faces themselves will start to get outlines.  The goal that we are seeking is to get black lines only on the edges of the object not the internal faces as well.

Experiment with the Eint: value to get the look that you require.  Sometimes a scene with only a few edges highlighted can look much better than a scene where every edge has a black line.

If everything has gone well you should now have a image that looks like this!