alCel Shader

alcel.jpg

alCel

Cel shading is a rendering technique used to simulate the lighting in cartoon animation. In this short tutorial we will use the alCel shader to apply a cel shaded look to the skin of an anime style character.

  • Start off by assigning an alCel shader to the skin surface of the model.
  • Create an alSurface shader and connect it to the Surface Shader attribute of the alCel shader. We don’t want to add any specularity to the toon shading so reduce the Specular value to 1.

Ramp

  • Create a ramp texture and connect it to the Diffuse Ramp attribute of the alCel shader. Change the Interpolation to none. This will give a toon like shading effect. Create a colored gradation similar to the example below.

ramp.png

The final shader network should look like this:

shader-network.png

alCel: Diffuse Strength

We can adjust the toon shading effect using the Diffuse Strength. This attribute acts as a multiplier on the diffuse component before being passed through the ramp.

diffuse-strength.jpg

alSurface Diffuse Color

A simple way to tint the skin is to apply some color to the Diffuse Color of the alSurface shader. This will give the model a quick and easy tan!

image2016-9-1 12-33-12.png
Color tint added to Diffuse Color of alSurface shader

 

That concludes this tutorial on how to create a toon shading effect using the alCel shader.

The MtoA shader used in this tutorial is available here.

alcel.gif

4 thoughts on “alCel Shader

  1. It is always great to read your tutorials! I tried to set it up in Katana but somehow the alCel shader doesn’t seem to work. Has anyone ever tried this shader in Katana? Thanks!

  2. I got this to work in maya 2017, but one problem is I can’t get it to work with image files instead of colors in the ramp texture node. It seems Arnold just renders the images as black. Anyone have any ideas as to why? If I connect the same ramp texture node to a regular lambert, it does render the textures.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s