Nodes · Atelier
Stylize2D
Overview
The anime look on any element - a fire render, a stock flame on black, an energy strand, a smoke puff, a plate. A stack of up to four Cel Layers (each the Voxyde vx_filter: a blur, a hard cut at a threshold, a colour that is brightest in the middle, gain and gamma), with an exterior outline, interior lines, line boil, glow and timing on twos or threes. Pin in the passes you have (matte, depth, N, emission, light, id) and the lines and layers use them. Writes every pass beside rgba - cel.1 to cel.4, lines.ext, lines.int, glow, band_id - so the look can be rebuilt in a plain merge.
How to
How-to
- Wire the element into
src. An element with alpha works as it is; for a fire or energy element on black with no alpha, set each layer'ssourceto luminance. - Set
cel_count(1 to 4). Each layer is a Cel Layer:thresholdandinvertpick the part it is,colorits colour,blur_sizeits gradient. The default is a rim, a mid and a core. - Turn on
outlinefor a line around the silhouette, andinteriorfor lines where the layers meet. With depth, normal or id passes in the stream (or wired into their inputs), interior lines also follow overlaps and hard turns. - Set
stepto 2 or 3 to animate on twos or threes. Addboilfor lines that shift between drawings andwobblefor a hand-drawn edge. Both hold still within a drawing. - Raise
glow_innerandglow_outerfor the graphic glow on the layers markedglow.
Passes
Besides rgba, the node writes each layer (cel.1 to cel.4), the outline (lines.ext), the interior lines (lines.int), the glow (glow) and band_id (which layer is on top). Merging the layers in order, the interior lines over them, the outline over that and adding the glow gives back the picture, so the look can be rebuilt and adjusted pass by pass.
With no passes
An element on black with no alpha (a fire render saved without one, a stock flame) is keyed by its brightness when alpha_from is auto: key_low is out, key_high fully in. A layer reading emission or light with nothing wired gets them from the picture: emission is the brightness above emission_floor, and light is the brightness spread over the element so that a threshold lands in the same place on a dim element and a bright one. Interior lines on surface turns use normals read from the brightness (normal_detail, normal_strength). Wire a Fathom depth into depth for depth lines on a plate.
Inputs
src: the element. Its own depth, normal and cryptomatte layers are used when they are there.matte: what a layer withcutoutset to matte is confined to.depth,N,id: for interior lines and the outline's taper. A wired input wins over the stream's own pass.emission,light: what a layer withsourceset to emission or light cuts. A layer that asks for a pass nobody gives says so on the node.
Where it comes from
Each layer works as the CelLayer node does. Pixel sizes are in pixels at 1080p and scale with the picture, so a look carries across resolutions.
Inputs
| Input | What it takes |
|---|---|
| src | the source image |
| matte | the alpha that drives this node |
| depth | — |
| N | — |
| emission | — |
| light | — |
| id | — |
Outputs
| Output | Type |
|---|---|
| out | Image |
Parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
| cel_count | Int | 3 | How many Cel Layers the stack has, 1 to 4. Layer 1 is at the bottom. |
| cel1_source | Choice | alpha | Cel Layer 1: What this layer cuts: the element's alpha, its luminance (an element on black with no alpha), the emission pass, or the light pass (shadow / base / highlight bands from real lighting). alphaluminanceemissionlight |
| cel1_threshold | Float | 0.15000000596046448 | Cel Layer 1: Where this layer's hard edge falls on the blurred source. With invert on, the layer is the part above it - a high threshold is only the dense core. |
| cel1_invert | Bool | true | Cel Layer 1: on keeps the part above the threshold, off the part below it. |
| cel1_detail | Float | 18.0 | Cel Layer 1: How much the source is simplified before the cut, in pixels at 1080p: bigger gives blobbier, simpler shapes. |
| cel1_color | Color | [1.399999976158142, 0.25, 0.05000000074505806, 1.0] | Cel Layer 1: This layer's colour. Values above 1 bloom through the glow. |
| cel1_blur_size | Float | 48.5 | Cel Layer 1: The fill's gradient, in pixels at 1080p: the colour is brightest in the middle and falls off toward the edge over this distance, while the edge stays crisp. 0 is a flat fill. |
| cel1_blur_contrast | Float | -0.012000000104308128 | Cel Layer 1: Pushes the gradient's faint edge down: more negative, a tighter bright middle. |
| cel1_gain | Float | 1.5199999809265137 | Cel Layer 1: Brightness of this layer. |
| cel1_gamma | Float | 0.8100000023841858 | Cel Layer 1: Gamma of this layer: below 1 darkens the falloff toward the edge, above 1 lifts it. |
| cel1_cutout | Choice | none | Cel Layer 1: What confines this layer: nothing, the matte input, the element's own alpha (keeps a light band on the element), or the layers below it (a highlight never leaves its base). nonematteelementbelow |
| cel1_merge | Choice | over | Cel Layer 1: How this layer lands on the ones below it: over, plus (adds light), or screen. overplusscreen |
| cel1_glow | Bool | true | Cel Layer 1: This layer feeds the glow. |
| cel2_source | Choice | alpha | Cel Layer 2: What this layer cuts: the element's alpha, its luminance (an element on black with no alpha), the emission pass, or the light pass (shadow / base / highlight bands from real lighting). alphaluminanceemissionlight |
| cel2_threshold | Float | 0.3499999940395355 | Cel Layer 2: Where this layer's hard edge falls on the blurred source. With invert on, the layer is the part above it - a high threshold is only the dense core. |
| cel2_invert | Bool | true | Cel Layer 2: on keeps the part above the threshold, off the part below it. |
| cel2_detail | Float | 18.0 | Cel Layer 2: How much the source is simplified before the cut, in pixels at 1080p: bigger gives blobbier, simpler shapes. |
| cel2_color | Color | [1.7999999523162842, 0.8999999761581421, 0.15000000596046448, 1.0] | Cel Layer 2: This layer's colour. Values above 1 bloom through the glow. |
| cel2_blur_size | Float | 48.5 | Cel Layer 2: The fill's gradient, in pixels at 1080p: the colour is brightest in the middle and falls off toward the edge over this distance, while the edge stays crisp. 0 is a flat fill. |
| cel2_blur_contrast | Float | -0.012000000104308128 | Cel Layer 2: Pushes the gradient's faint edge down: more negative, a tighter bright middle. |
| cel2_gain | Float | 1.5199999809265137 | Cel Layer 2: Brightness of this layer. |
| cel2_gamma | Float | 0.8100000023841858 | Cel Layer 2: Gamma of this layer: below 1 darkens the falloff toward the edge, above 1 lifts it. |
| cel2_cutout | Choice | none | Cel Layer 2: What confines this layer: nothing, the matte input, the element's own alpha (keeps a light band on the element), or the layers below it (a highlight never leaves its base). nonematteelementbelow |
| cel2_merge | Choice | over | Cel Layer 2: How this layer lands on the ones below it: over, plus (adds light), or screen. overplusscreen |
| cel2_glow | Bool | true | Cel Layer 2: This layer feeds the glow. |
| cel3_source | Choice | alpha | Cel Layer 3: What this layer cuts: the element's alpha, its luminance (an element on black with no alpha), the emission pass, or the light pass (shadow / base / highlight bands from real lighting). alphaluminanceemissionlight |
| cel3_threshold | Float | 0.6000000238418579 | Cel Layer 3: Where this layer's hard edge falls on the blurred source. With invert on, the layer is the part above it - a high threshold is only the dense core. |
| cel3_invert | Bool | true | Cel Layer 3: on keeps the part above the threshold, off the part below it. |
| cel3_detail | Float | 18.0 | Cel Layer 3: How much the source is simplified before the cut, in pixels at 1080p: bigger gives blobbier, simpler shapes. |
| cel3_color | Color | [2.0, 1.899999976158142, 1.2000000476837158, 1.0] | Cel Layer 3: This layer's colour. Values above 1 bloom through the glow. |
| cel3_blur_size | Float | 48.5 | Cel Layer 3: The fill's gradient, in pixels at 1080p: the colour is brightest in the middle and falls off toward the edge over this distance, while the edge stays crisp. 0 is a flat fill. |
| cel3_blur_contrast | Float | -0.012000000104308128 | Cel Layer 3: Pushes the gradient's faint edge down: more negative, a tighter bright middle. |
| cel3_gain | Float | 1.5199999809265137 | Cel Layer 3: Brightness of this layer. |
| cel3_gamma | Float | 0.8100000023841858 | Cel Layer 3: Gamma of this layer: below 1 darkens the falloff toward the edge, above 1 lifts it. |
| cel3_cutout | Choice | none | Cel Layer 3: What confines this layer: nothing, the matte input, the element's own alpha (keeps a light band on the element), or the layers below it (a highlight never leaves its base). nonematteelementbelow |
| cel3_merge | Choice | over | Cel Layer 3: How this layer lands on the ones below it: over, plus (adds light), or screen. overplusscreen |
| cel3_glow | Bool | true | Cel Layer 3: This layer feeds the glow. |
| cel4_source | Choice | alpha | Cel Layer 4: What this layer cuts: the element's alpha, its luminance (an element on black with no alpha), the emission pass, or the light pass (shadow / base / highlight bands from real lighting). alphaluminanceemissionlight |
| cel4_threshold | Float | 0.800000011920929 | Cel Layer 4: Where this layer's hard edge falls on the blurred source. With invert on, the layer is the part above it - a high threshold is only the dense core. |
| cel4_invert | Bool | true | Cel Layer 4: on keeps the part above the threshold, off the part below it. |
| cel4_detail | Float | 18.0 | Cel Layer 4: How much the source is simplified before the cut, in pixels at 1080p: bigger gives blobbier, simpler shapes. |
| cel4_color | Color | [1.0, 1.0, 1.0, 1.0] | Cel Layer 4: This layer's colour. Values above 1 bloom through the glow. |
| cel4_blur_size | Float | 48.5 | Cel Layer 4: The fill's gradient, in pixels at 1080p: the colour is brightest in the middle and falls off toward the edge over this distance, while the edge stays crisp. 0 is a flat fill. |
| cel4_blur_contrast | Float | -0.012000000104308128 | Cel Layer 4: Pushes the gradient's faint edge down: more negative, a tighter bright middle. |
| cel4_gain | Float | 1.5199999809265137 | Cel Layer 4: Brightness of this layer. |
| cel4_gamma | Float | 0.8100000023841858 | Cel Layer 4: Gamma of this layer: below 1 darkens the falloff toward the edge, above 1 lifts it. |
| cel4_cutout | Choice | none | Cel Layer 4: What confines this layer: nothing, the matte input, the element's own alpha (keeps a light band on the element), or the layers below it (a highlight never leaves its base). nonematteelementbelow |
| cel4_merge | Choice | over | Cel Layer 4: How this layer lands on the ones below it: over, plus (adds light), or screen. overplusscreen |
| cel4_glow | Bool | true | Cel Layer 4: This layer feeds the glow. |
| grow | Float | 0.0 | Grows (positive) or shrinks (negative) every layer's shape, in pixels at 1080p. |
| min_size | Float | 0.0 | Removes specks smaller across than this, in pixels at 1080p. 0 keeps everything. |
| wobble | Float | 0.0 | Wobbles every shape by up to this many pixels (at 1080p), changing only between drawings - a hand-drawn edge that does not swim. |
| wobble_scale | Float | 40.0 | How big the wobble's waves are, in pixels at 1080p. |
| outline | Bool | false | Draws a line around the whole silhouette. |
| outline_width | Float | 3.0 | The outline's width in pixels at 1080p. It stays exact at any width. |
| outline_color | Color | [0.019999999552965164, 0.014999999664723873, 0.029999999329447746, 1.0] | The outline's colour when outline_rule is fixed. |
| outline_rule | Choice | fixed | The outline's colour: fixed (outline_color), darken (the fill it borders, darkened by outline_darken), or layer (the colour of the layer it borders). fixeddarkenlayer |
| outline_darken | Float | 0.25 | With outline_rule darken: how dark the line is against the fill it borders. 0 is black, 1 the fill's own colour. |
| outline_side | Choice | outside | Where the line sits: outside the shape, inside it, or centred on its edge. outsideinsidecentre |
| outline_taper | Float | 0.0 | Thins the outline with distance: 0 keeps one width, 1 makes it fall with depth. Needs a depth pass, in the stream or the depth input. |
| interior | Bool | false | Draws lines inside the shape: where the layers meet, and where the id, depth, normal or luminance steps. |
| interior_width | Float | 1.5 | The interior lines' width in pixels at 1080p. |
| interior_color | Color | [0.019999999552965164, 0.014999999664723873, 0.029999999329447746, 1.0] | The interior lines' colour. |
| layer_edges | Float | 1.0 | Strength of the lines where one Cel Layer meets the next, 0 to 1. |
| id_edges | Float | 1.0 | Strength of the lines where the object id changes (the id input or the stream's cryptomatte), 0 to 1. |
| depth_edges | Float | 0.800000011920929 | Strength of the lines where depth jumps (an overlap), 0 to 1. Needs a depth pass. |
| normal_edges | Float | 0.6000000238418579 | Strength of the lines at hard turns of the surface, 0 to 1. Needs a normal pass. |
| luma_edges | Float | 0.0 | Strength of the lines where the picture's own brightness steps, 0 to 1 - for elements with no passes. |
| depth_threshold | Float | 0.03999999910593033 | How big a depth jump draws a line, as a fraction of the depth. |
| normal_threshold | Float | 0.30000001192092896 | How sharp a turn of the surface draws a line. |
| luma_threshold | Float | 0.3499999940395355 | How strong a brightness step draws a full line. |
| boil | Float | 0.0 | Line boil: the lines shift by up to this many pixels (at 1080p) from one drawing to the next, and hold still within a drawing. |
| boil_scale | Float | 24.0 | How big the boil's waves are, in pixels at 1080p. |
| boil_every | Int | 1 | Boil on every n-th drawing: 2 keeps each line for two drawings. |
| step | Choice | 1 | Animate on ones, twos, threes or fours: every frame of a drawing is the same picture, read at the drawing's first frame - keyed knobs included. 1234 |
| step_offset | Int | 0 | Shifts which frames start a drawing. |
| holds | Text | Frame ranges to hold on their first frame, like 12-18, 40-44 - an impact pose held still. | |
| glow_inner | Float | 0.0 | Strength of the hard glow inside the shape, from the layers marked glow. |
| glow_inner_size | Float | 6.0 | Size of the inner glow, in pixels at 1080p. |
| glow_outer | Float | 0.0 | Strength of the soft bloom around the shape, from the layers marked glow. |
| glow_outer_size | Float | 60.0 | Size of the outer bloom, in pixels at 1080p. |
| mix | Float | 1.0 | 1 is the stylised picture, 0 the source; between, a blend of the two. |
| alpha_from | Choice | auto | Where the element's alpha comes from: auto keys an element on black that has no alpha by its luminance and reads the alpha otherwise; alpha always reads it; luminance always keys. autoalphaluminance |
| key_low | Float | 0.02 | The luma key: brightness below this is out. |
| key_high | Float | 0.25 | The luma key: brightness above this is fully in. |
| emission_floor | Float | 0.2 | With no emission pass: emission is the brightness above this. |
| normal_detail | Float | 6.0 | With no normal pass: how much the brightness is smoothed before it is read as a surface, in pixels at 1080p. |
| normal_strength | Float | 4.0 | With no normal pass: how steep that surface is. |
| disabled | Bool | false | Bypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back. |
| label | Text | A note shown under the node in the graph — what this node is FOR. Never affects the render or the cache. | |
| hide_input | Bool | false | Draw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap). |
