toonInkEdges
toonBlocks internal: finds where the toon ink line starts, from the scene's own depth. A pixel is an edge when the surface beside it stands a real step farther away (an object against the sky, a prop in front of a wall, an arm in front of a body); a slope seen at a grazing angle…
toonBlocks internal: finds where the toon ink line starts, from the scene's own depth. A pixel is an edge when the surface beside it stands a real step farther away (an object against the sky, a prop in front of a wall, an arm in front of a body); a slope seen at a grazing angle is not a step. It marks the near side only, so the line grown from it by the engine's jump flood lies outside the near object's silhouette, over what stands behind. It needs no list of objects: new things get their line the frame they appear, removed things lose it the frame they go, and a wall or floor in front of an object leaves no edge to draw. Objects in the veto mask (characters with their own hull, objects switched off or with a line of their own) start no line here. Driven by ToonOutlines; nothing to set up.
Known limits
- A post-process shader has no surface preview image.
- A pass reads the scene's depth only when it also writes the scene picture (#24550), and an unknown blend name draws as replace (#24551).
- A per-object value cannot reach a geometry pass (#24549).
The package README's Known limits lists the rest.
Scoped to this part · feeds back into the world's score.