DocsNodesModifiers

Fit To Faces

Puts a copy of a tile in every face, reshaped to fit that face.

tiles, townscaper, per cell, tiling, modular, buildings, autotile
Category
Modifiers
Outputs
mesh
Runs live in
no target yet

Instance On Points drops a rigid copy at a point. This maps the tile into the face's own corners, so on an irregular grid every tile takes the shape of its cell instead of being a square in a non-square hole. That is what lets a relaxed, organic grid carry authored geometry.

Wire an index and it picks one part per cell, which is how a neighbour rule chooses a different tile. Keep Shape mode scales and turns the tile instead of distorting it, for props that must not warp.

Inputs

SocketTypeWiring
meshgeometry
prototypegeometry
indexfield, optional
rotationfield, optional
selectionfield, optional

Parameters

NameTypeDefaultAvailable whenWhat it does
Fitbilinear | rigidbilinearalways
Cell Sizenumber0always
Heightnumber1always
Marginnumber0always

Watch out

The tile fills its cell wall to wall by default, because the tile's own bounds become the cell. Raise the margin for grout, streets or a reveal between tiles.

Built with this node

See also

Open the editor and try it