Toon Material

 

This is a type of material that has shadows and highlights appear as blocks of color and results in a flat image with less numbers of shading colors along with a distinct-colored "ink" used for outlines and contour lines. The Toon material is used for creating Toon shaders and emulates the style of a cartoon on a two dimensional illustration. The Toon material require Toon Lighting Mode in order to work. The material can also accept a Toon Ramp to add a color range for the shader’s diffuse channel (albedo color) or to the shader’s specular channel (Figure 2).

Toon_Material_Fig01_Nuke_v2020

Figure 1: The attributes of a Toon material Node.

 

Figure 2: A Toon Ramp is connected to the diffuse ramp input pin of a Toon MaterialThe representation of the surface or volume properties of an object. node.

 

Toon Material Parameters

DiffuseAmount of diffusion, or the reflection of light photons at different angles from an uneven or granular surface. Used for dull, non-reflecting materials or mesh emitters. - The Diffuse reflection channel, or the albedo value of the Toon shader.

SpecularAmount of specular reflection, or the mirror-like reflection of light photons at the same angle. Used for transparent materials such as glass and water. - The Specular reflection channel, which behaves like a coating on top of the Diffuse layer and creates a highlight on the surface depending on the incident light angle and the camera’s viewpoint. A value of 0 means there is no highlight at all.

Roughness - The Specular reflection channel's roughness. The appearance of the Toon shading’s Specular reflection becomes more prevalent as the roughness of the Specular reflection channels decreases.

Toon Lighting Mode - Since Toon Lighting is required for Toon materials to work, this attribute defines where the Toon lighting is drawn from. This can be from the camera direction, or from OctaneRender®Toon Lights. If Toon Lights is the selected mode, Toon materials will need either a Toon point light or a Toon directional light included in the scene in order to work (Figure 4).

Figure 3: The Toon Lighting mode selection attribute.

Figure 4: If Toon Lights is the selected Toon Lighting Mode, a Toon Light node must be present in the scene in order for Toon MaterialsA set of attributes or parameters that describe surface characteristics. to work.

 

Toon Diffuse Ramp - The color/float range that defines how the Toon shading’s albedo value (or diffuse color) varies over a surface.

Toon Specular Ramp - The color/float range that defines how the Toon shading’s Specular value varies over a surface.

Bump - Simulates a relief using a Grayscale texture interpreted as a height map.

Normal - Distorts normals based on an RGB image.

DisplacementThe process of utilizing a 2D texture map to generate 3D surface relief. As opposed to bump and normal mapping, Displacement mapping does not only provide the illusion of depth but it effectively displaces the actual geometric position of points over the textured surface. - Creates very detailed geometry with a low memory footprint.

Outline Color - The color used for the surface's outline and contour edges.

Outline Thickness - Defines and propagates the outline and contour edges used in the Toon shading. A thickness of 0.0 means there is no outline for that surface.

Opacity - Controls the Toon material transparency with a Grayscale texture.

Smooth - Enables normal interpolation. If disabled, triangle meshes will appear faceted.

Rounded EdgesThe Rounded Edges parameter bevels the edges of the surface at render time automatically without the need to alter or subdivide the geometry. Using this option can enhance the realism of objects by eliminating overly sharp edges. The value refers to the radius of the rounded edge. Higher values for this setting produce rounder edges.