May 12 2009
Shaders for mental ray and RenderMan
I developed my Toonkit shaders because I wasn’t satisfied with the possibilities offered by the standard toon shading options in the major 3D packages. The main problem I saw was that they offered too little control when it came to defining a specific look yet at the same time too much control in places it doesn’t matter.
Toonkit contains highly advanced toon shaders which can simulate not only cartoon and anime but many other non-photorealistic styles.
Unlike many conventional toon shaders, Toonkit creates very clean and smooth looking animation while avoiding jagged shading and that notorious “floaty” 3D effect.
The set provides an array of useful tools for shading character animation as well as utilities to aid in background matte painting. Toonkit is compatible with the mental ray and RenderMan renderers.
ToonHair
ToonHair deals squarely with rendering anime-style hair.
ToonShader
ToonShader was developed to accurately simulate the flat look of 2D cartoon or cel animation.
ToonHoldout
ToonHoldout allows eyes and eyebrows to be rendered above the hair, an effect quite common in anime and manga.
ToonSurface
ToonSurface adjusts any object’s shading to appear round, even and altogether more visually appealing.
ToonOutline
This set of material and lens shaders renders high quality cel style outlines and offers more flexibility than mental ray's native contour solution while being much more straightforward to use in daily production.
June 10 2009
ToonHair
The latest addition to my Toonkit shader library deals squarely with rendering anime-style hair.
Rendering anime or mange style hair in 3D is deceptively simple — one might think that any old toon shader would do the trick…
But unfortunately it is in fact incredibly difficult to render believable anime hair using conventional shaders. This is mainly due to the unorthodox type of specular highlight used, which usually stretches around the entire head, often runs in wild zig-zag patterns or tapers towards the end. This non-photorealistic effect has no equivalent in conventional shaders.
However, the ToonHair shader gives the artist full control over simulating these unconventional highlights by offering almost half a dozen different ramps with visual graphs and direct feedback to control the shading effect in detail. Parameters include ramp color, profile, direction, tapering, offset and size.
Usage
This shader is specifically designed to solve the common problem of rendering believable anime hair with 3D models. It is quite simple to setup but at the same time offers all the control one could want.
In combination with the ToonHoldout shader it is also possible to simulate the common effect of rendering eyes and eye-brows above the hair — regardless of physical plausibility.
May 11 2009
ToonShader
This complex toon shader combines a 1D ramp with a 2D textured ramp to create a cartoon look and other non-photorealistic effects.
It uses a small image sample as a 2D ramp which allows the artist to separate the color of the base shading, specs and rim lights and to vary the smoothness of gradations between these areas.
Even though the shader is complex and offers much control, the default settings and presets are designed to accurately mimic various cartoon looks. To achieve this, ToonShader offers two different gradient ramp controls, three types of specular highlights, control over transparency, ambient occlusion, custom shadow colors, incidence and incandescence and above all allows the artist to manually adjust the shading locally by painting vertex colors. It is also possible to create square or split highlights for accurate cartoon effects.
Moreover, each effect is implemented as an independent layer which can be toggled on or off and may be blended using any combination of more than
20 blend modes.
As such, this versatile shader is not only capable of rendering convincing cartoon characters but can also be used to render painterly background objects and mattes.
Usage
ToonShader was developed to accurately simulate the flat look of 2D cartoon or cel animation. It provides two separate methods to drive flat or gradient shading and provides separate controls of specular highlights. These may be moved, rotated and scaled independently of the light source.
May 8 2009
ToonHoldout
The ToonHoldout shader is a specialized utility node that can be used to make certain objects appear in front of others even though they would in reality be obscured. Specifically, this shader was developed to render a character’s eyes and eyebrows over her hair.
In manga and anime it is quite common to have eyes and eyebrows rendered over the hair, even though this may seem implausible or physically incorrect.
This setup is extremely complicated to achieve without this shader but adds a lot to create the illusion of hand-painted art.
Usage
Using ToonHoldout couldn’t be easier: Plug it into the ToonShader’s transparency slot and specify the names of the objects you want to see through to and you are good to go!
April 30 2009
ToonSurface
This utility shader was designed to be used in combination with the ToonShader. ToonSurface adjusts any object’s shading to appear round, even and altogether more visually appealing.
This shader makes it possible to locally fix “wrong” or visually unpleasant toon shading without having to adjust the model, surface shader, lighting or normals.
Usage
Small or square cut patches of dark shading rarely appear in hand drawn animation, unlike in CG, where the realistic lighting model often causes an uneven and generally unpleasant toon shading look. Conventional tools make it almost impossible to counteract this undesirable effect.
ToonSurface allows an artist to adjust the shading without breaking or altering other parts of the scene.
March 12 2009
ToonOutline
ToonOutline deals with tracing clean contour outlines around objects, seams and creases to simulate a cartoon or manga look.
This set of material and lens shaders renders high quality
cel style outlines and offers more flexibility than native contour solutions while being more straightforward to use in daily production.
Usage
In combination with the ToonShader it is possible to produce 3D cartoon animation that integrates well with traditional 2D environments.