Overview
Fills the canvas at regular intervals with blocks, dots, diamonds, checks, or image stamps. Use it for floor tiles, simple wall patterns, rows of dots, and orderly decorative patterns.
Use row_offset to shift every other row horizontally. A half-cell offset creates a
brick-like arrangement. Connect an image to stamp and set pattern = Stamp to place
that image in every cell.
Usage tips
pattern = Stampis the most versatile option. Draw a small flower, stone, or icon and tile it for an instant background pattern. The image is stretched over each full cell with nearest-neighbor sampling, then its transparent and translucent pixels are composited overbackground_colorwith straight-alpha SrcOver.Checkerwith two colors is the shortest route to a transparency-check background or checkerboard floor.- For a tileable asset, turn
wrap_x/yON and inspect it withtile_preview, following the same workflow as brick_pattern. - For rows of dots such as a stippled star field, use
Dot+ a largegap+ a transparentbackground_color.
Common pitfalls
- Cell dimensions change slightly: with
wrapON, dimensions adjust automatically so a whole number of periods fits the output (see below). For exact cell dimensions, make the canvas a multiple of the pattern period. - A stamp's aspect ratio changes: every stamp is stretched to the full cell with
nearest-neighbor sampling. Match the source aspect ratio to
cell_width / cell_heightwhen you need to preserve its proportions.
Compatibility
- v4 composites transparent and translucent Stamp pixels over
background_color. Keepbackground_colortransparent to preserve the transparent-pixel result from v3 and earlier.
Examples
- Create a checkerboard floor with
pattern = Checker,cell_width = 8, andcell_height = 8. - Create a regular dot background with
pattern = Dot,gap_x = 8, andgap_y = 8. - Set
row_offsettocell_width / 2for a wall base with half-cell-shifted blocks. - Connect a small decorative image to
stampand place it evenly withpattern = Stamp. - Connect
surfacetoSurface Light Previewand inspect tile relief from the difference betweenshape_height_valueandbackground_height_value. - With
pattern = Checker, assign different materials toshape_material_idandalt_material_id, then use the material-ID preview to confirm that they alternate.
Looping
When wrap_x / wrap_y is on, the pattern is cropped at a period that makes its edges
more likely to join when tiled in every direction. If width or height is not an
exact multiple of the cell period, the node does not simply crop an infinite pattern
at the specified cell width. Instead, it stretches or shrinks the cells slightly so a
whole number of repetitions fits the output.
Because Checker and row_offset can shift color or row phase at the edge, looping
internally selects a period with an even number of repetitions.
Related nodes
brick_pattern— block walls with mortar and color variationpath_array— place along a path rather than a gridpixel_canvas— supplies stamp artworktile_preview— check looping