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.
- 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.
The final shader network should look like this:
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.
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!
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.
6 thoughts on “alCel Shader”
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!
Mine always crashes when I create the ramp node. Unfortunately I can’t complete the tutorial.. Anyone else having this problem?
I added my shader if you need it.
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.
Doesn’t work on C4DtoA. The ramp_rgb node doesn’t seem to have any effect:((
You could try the Facing Ratio shader instead. Video here: https://support.solidangle.com/display/AFCUG/Cartoon+Shading+Effects+in+C4DtoA
Comments are closed.