DocsGRADEReference

Toon Shading

2 min read

On this page

Cel shading: posterised light bands or a soft S-curve, flattened colours, sepia tint, ink edges and thin clean line art.

Studio categoryStylized
Pipeline stagePost Colour (display colour, after the colour nodes)
Default position24 in its stage, shares a pass with the Stylize group
Works inLive views and Image mode
C++ / BlueprintFGradeLayer::Effects.Toon (FGradeToon)

Manual: Toon Shading. Every numeric parameter can be set at runtime with Set Layer Parameter using the path shown (see Animation).

Parameters

Cel / toon shading: posterised light bands, colour simplification and ink edges.

ParameterBlueprint pathValuesDefaultDescription
EnabledEffects.Toon.Enabledon/offoffTurns the effect on.
BandsEffects.Toon.Bands2..8, integer4Light bands, 2..8.
Band SoftnessEffects.Toon.BandSoftness0..10.15Softness of the band edges, 0..1.
Color SimplifyEffects.Toon.ColorSimplify0..10040Colour flattening (fewer hues/saturation steps), 0..100.
EdgesEffects.Toon.Edges0..10050Ink edges from colour/luma, 0..100 (combine with Outline for depth edges).
Edge WidthEffects.Toon.EdgeWidth0.5..41Edge width in pixels (at 1080 lines).
Edge ColorEffects.Toon.EdgeColor.R/G/B/Acolour(0.03, 0.02, 0.02)Colour of the edges.
AmountEffects.Toon.Amount0..100100Mix of the effect with the original image, 0..100.
Ramp TexturetexturenoneOptional lighting ramp (horizontal: left = shadow, right = light) replacing the bands.
ShadingEGradeToonShadingBands
S CurveEffects.Toon.SCurve0..10060Strength of the soft S-curve tone shaping, 0..100.
TintEffects.Toon.Tint.R/G/B/Acolour(0.72, 0.66, 0.52)Monochrome tint (sepia / duotone look) colour.
Tint AmountEffects.Toon.TintAmount0..1000Amount of the monochrome tint, 0..100 (0 = keep colours).

Line Art

ParameterBlueprint pathValuesDefaultDescription
Line ArtEffects.Toon.LineArt0..1000Thin, clean line art on contours and inner details (on top of Edges), 0..100.
Line DetailEffects.Toon.LineDetail0..10050How much inner detail gets lines (0 = only silhouettes .. 100 = every small detail), 0..100.
Line WobbleEffects.Toon.LineWobble0..1000Hand-drawn wobble of the lines, 0..100.

Enumerations

Toon Shading (EGradeToonShading)

Toon shading model.

ValueMeaning
BandsHard posterised bands (classic cel).
Soft S-CurveSoft S-curve: a few smooth tone steps with gentle roll-off (painted / anime background look).

Generated from the GRADE C++ headers. Back to the reference index.