Overview
Layers multiple rule canvases into one, combining hand painting with parametric
placements from rule_rect, rule_polyline, and similar nodes. This enables a
layered workflow such as painting base terrain by hand and placing buildings with
rectangle nodes.
Usage tips
- Later inputs appear on top. Put the base terrain in canvas_a, then overlays in b, c, and so on.
- Keeping parametric placement (rect / polyline / path) in separate nodes lets you move size and position with sliders without damaging the painted canvas.
- Check the
warningsoutput at least once to catch dimension mismatches.
Related nodes
rule_rect/rule_polyline/rule_pathā supply parametric placementsrule_canvasā supplies the hand-painted canvasrule_renderā renders the combined result
What this node does
Combines parametric operations made with Rule Rect and Rule Polyline with a
canvas painted in the editor. Operations are layered by input order, then by order
within each canvas; later inputs appear on top. Non-empty hand-painted cells overwrite
earlier cells.
For a canvas whose map dimensions differ from the first input, hand-painted cells are skipped while operations are still combined. A warning reports the mismatch. Operation coordinates remain valid because they are absolute.
Inputs and outputs
| Kind | ID | Type | Description |
|---|---|---|---|
| Input | canvas_aācanvas_d |
RuleCanvas (only a is required) | Canvases to combine. |
| Output | canvas |
RuleCanvas | Combined result. |
| Output | warnings / summary |
Text | Dimension mismatches and a summary. |
Example wiring
Hand-painted RuleCanvas.canvas āāā RuleOperationMerge.canvas_a
RuleRect.canvas āāā RuleOperationMerge.canvas_b
RuleOperationMerge.canvas āāā RuleRender.canvas