Sub topic 15
Spreading a Large Asset Across UDIM Tiles
This chapter assumes you can mark seams, unwrap a mesh, and pack islands in the UV Editor. It also assumes you know how texel density is set. If those steps are new, review the chapters on unwrapping, texel density, and packing first.
Why one UV tile is sometimes not enough
A standard UV map uses a single square of UV space, from 0 to 1 on both axes. All the islands of a mesh must fit inside it. That square holds one image. A 4096 × 4096 texture gives you about 16.7 million pixels to share across the whole model.
That is fine for a prop. It is not fine for a character, a vehicle, or a building that must hold close-up detail. If you pack everything into one tile, texel density drops, and the surface looks blurry. You can raise the image resolution, but very large images cost memory and are awkward to paint and edit.
A UDIM layout is the usual fix. UDIM stands for U-Dimension. It places several UV tiles side by side in one UV space, and each tile has its own image. The mesh uses one material, and the texture set is split across many files.
How UDIM tiles are numbered
Each tile covers one unit square. Tiles are numbered from 1001 and run along the U axis, with ten tiles per row.
The number is 1001 + U + 10 × V, where U and V are the whole-number tile coordinates counted from zero.
| Tile number | U range | V range |
|---|---|---|
| 1001 | 0 to 1 | 0 to 1 |
| 1002 | 1 to 2 | 0 to 1 |
| 1010 | 9 to 10 | 0 to 1 |
| 1011 | 0 to 1 | 1 to 2 |
| 1021 | 0 to 1 | 2 to 3 |
Tile 1001 is the default tile you already use. Moving an island one unit to the right in the UV Editor puts it in tile 1002, with no other change to the mesh.
Deciding how to group islands
Packing everything across a long strip of tiles wastes the benefit. Plan tiles by meaning, so that each texture file holds a coherent part of the asset. Common groupings:
- A character: head and neck in one tile, torso in another, arms and legs in a third.
- A vehicle: body panels, interior, wheels, and small parts each get a tile.
- A building: one tile per wall group or per material zone.
Grouping by material zone helps in two ways. Texture artists can paint one tile without touching others. You can also give important areas, such as a face, more tiles' worth of space and give hidden areas less.
The grouping is a decision you make before packing. Seams do not change. Islands that already exist are sorted into tiles.
Setting up UDIM tiles in the UV Editor
Open the UV Editor with the object in Edit Mode. In the sidebar (press N), open the View tab and find the UDIM Grid panel. Set the number of tiles along U and V there. A grid of 3 × 1 gives you three tiles in a row, 1001 to 1003.
To create an image for a tile, open the Image tab in the sidebar, or use Image > New, and enable Tiled in the options. Blender then asks for the tile layout. You can also add tiles one at a time in the UDIM Tiles panel using the + button, and fill each with a color, a generated grid, or a checker pattern.
Use a generated UV grid or color grid image on every tile while you work. This lets you spot distortion in the same way as the checker texture in the earlier chapter, and it shows which tile an island is in.
Moving islands between tiles
The UV Editor treats a tile as a position in UV space. Select the islands you want to move, then press G, type X followed by 1, and press Enter. The islands move one tile to the right. Type Y then 1 to move up one tile.
Use island selection mode, or press L while hovering over an island, to pick whole islands. If you select only some vertices, you tear an island across a tile border.
An island must sit completely inside one tile. If it crosses a tile line, parts of it sample from two different images, and you get a visible break along that line.
Packing across tiles
The Pack Islands operator in recent Blender versions supports UDIM. In the Adjust Last Operation panel, set the Pack to option to Closest UDIM, Active UDIM, or Original bounding box.
| Option | Behavior |
|---|---|
| Closest UDIM | Each island is packed into the tile it is currently nearest to. |
| Active UDIM | All selected islands are packed into the tile that is active in the image. |
| Original bounding box | Islands are packed into the area they already occupy. |
Closest UDIM is the most useful option for this workflow. First roughly move each group of islands into its intended tile, then run Pack Islands. Each group is packed within its own tile and does not spill into the others.
Keep a margin between islands, as described in the packing chapter. The margin rules are the same in every tile, and padding is needed on each tile separately, because every tile bakes to its own image.
Scripting the tile assignment
If your islands are grouped by material slot, you can move them to tiles with a script. This one shifts every UV loop of faces in a given material slot by whole tiles. It assumes the faces already have UVs inside tile 1001.
import bpy
import bmesh
obj = bpy.context.edit_object
bm = bmesh.from_edit_mesh(obj.data)
uv_layer = bm.loops.layers.uv.active
# Map material slot index to the U offset in tiles.
tile_offset = {0: 0, 1: 1, 2: 2}
for face in bm.faces:
shift = tile_offset.get(face.material_index, 0)
for loop in face.loops:
loop[uv_layer].uv.x += shift
bmesh.update_edit_mesh(obj.data)Because every face of a seam-bounded island normally shares a material slot in this layout, islands stay whole. If an island contains faces from two slots, the script splits it across tiles. Check for that case before running it.
Edge cases and common problems
- Islands cross a tile line. This produces a visible seam in the texture. Select the island and move it, or scale it down slightly, so it sits inside the tile with a margin.
- Missing texture on one tile. Tiles with no image render as pink or black in Material Preview. Make sure the image has a tile for every number that holds an island.
- Wrong tile numbering in files. When you save tiled images, the file name must include the tile number, for example
body.1001.png,body.1002.png. Blender uses the<UDIM>token when you save and load sets. Other software expects the same convention. - Uneven texel density between tiles. Tiles that each hold a different amount of geometry can end up with different density. Set density across all islands first, then split into tiles. Do not rescale per tile, or surfaces will mismatch at borders between material zones.
- UDIM not supported downstream. Some game engines and real-time pipelines do not support UDIM, or limit the number of tiles. Check your target before you plan one. For those targets, use separate materials with separate single-tile maps instead.
When UDIM is the wrong choice
UDIM suits film, high-end rendering, and assets that are textured in painting software. It is a poor fit for real-time assets that must run on constrained hardware, because many large textures raise memory use and draw cost. If a single 2048 or 4096 map is enough, do not add tiles. They add file management work and give no visual benefit when density is already adequate.
Exercise
A character's islands sit in UV space between U = 2 and U = 3, and V = 1 and V = 2. Which UDIM tile number is that, and what single translation moves it into tile 1001?
Show answer
Tile U = 2 and tile V = 1 give 1001 + 2 + 10 × 1 = 1013. To bring the islands into tile 1001, move them 2 units left and 1 unit down, for example with G, then X, -2, Enter, then G, Y, -1, Enter.
Exercise
You packed all islands of a vehicle with Pack Islands set to Closest UDIM, but several wheel islands ended up in the body tile. What was likely missing before you ran the operator, and how do you fix it?
Show answer
The wheel islands were not moved close to their intended tile first, so the nearest tile to them was the body tile. Move each group of islands into its own tile with G and X or Y, then run Pack Islands again with Closest UDIM.