# Seamless textures

Make square materials for games and 3D scenes that repeat in every direction without a visible seam, with a height map and a normal map to go with each one.

## Step by step

1. In the studio, choose **Image**, then the model **Seamless texture**.
2. Describe the material, not a scene: what it is, its state, and that it is seen from above. For example `mossy cobblestone, wet after rain, top-down`.
3. Set **Count** (how many different textures) and press **Generate**.

## Example

|  |  |
| --- | --- |
| Prompt | `mossy cobblestone, wet after rain, top-down` |
| Count | 2 |
| Size | 1024 (under More options; 1328 is the other choice) |
| You get | For each texture: `00_albedo.png` (the colour), `00_height.png` (greyscale height) and `00_normal.png` (the normal map), all 1024 × 1024, and `00_preview_2x2.jpg` (the tile repeated 2 × 2, to check the seams) |

## How it makes the seams disappear

Illusion generates the material, shifts it by half its width and height so the old edges meet in the middle, and repaints only a band across those seams. The height map comes from the albedo, and the normal map from the height map with wrap-around edges, so all three tile and line up.

## Using the maps

- **Albedo**: the base colour (diffuse) slot of your material.
- **Height**: displacement or parallax occlusion; brighter is higher.
- **Normal**: the normal map slot. It uses the OpenGL convention (green up), which Unity, Godot and Blender expect. In Unreal Engine, tick **Flip Green Channel** on the texture.
- **More options → normal strength** (4 by default) makes the bumps stronger or flatter; **band** is the width of the repainted seam (0.14 of the tile). Raise the band if a seam still shows on very busy materials.

## Tips

- Avoid objects, horizons and perspective. "A wooden floor" works; "a room with a wooden floor" doesn't.
- Name the scale: `small pebbles` and `large flagstones` tile at very different sizes.
- Flat, even light is already asked for. Leave out shadows and sunsets, or they will repeat across the floor.
- Open the 2 × 2 preview to see the tiling, and use **Upscale 4×** on the albedo for close-up surfaces.

Canonical: https://illusion.hibira.io/guides/seamless-textures
