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
| Socket | Type | Wiring |
|---|---|---|
| mesh | geometry | |
| prototype | geometry | |
| index | field, optional | |
| rotation | field, optional | |
| selection | field, optional |
Parameters
| Name | Type | Default | Available when | What it does |
|---|---|---|---|---|
| Fit | bilinear | rigid | bilinear | always | |
| Cell Size | number | 0 | always | |
| Height | number | 1 | always | |
| Margin | number | 0 | always |
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
- Select parts of a meshHow-to
See also
- cornerPatternTo choose which tile and which rotation from the neighbours.
- quadSubdivideIt needs quads, so this usually runs first.