ToonMap


Attribute Reference

General attributes

crease_color

Rgb bindable
default: [ 1, 0, 0 ]

Creases are sharp edges like corners in the geometry.

crease_scale

Float bindable
default: 1.0

This attribute controls the thickness of creases.

crease_threshold

Float bindable
default: 45.0

This attribute sets the threshold angle (in degree units) to draw creases. The more the threshold angle is, the less the creases are traced.

fill_color

Rgb bindable
default: [ 0, 0, 0 ]

Default color, within the outlines and creases

mode

Int enum
  0 = “outline”
  1 = “crease”
  2 = “both” (default)

Pick which features are displayed

outline_color

Rgb bindable
default: [ 1, 1, 1 ]

Outlines are silhouettes of the geometry

outline_scale

Float bindable
default: 1.0

This attribute controls the thickness of outlines.

outline_threshold

Float bindable
default: 0.0

In most cases, the shader would trace an outline of a model well when this threshold is zero.