Atlas Coordinate Solver
Texture Atlas, Sprite Sheet & Trim Sheet UV Calculator
Compute exact normalized [U0, V0] → [U1, V1] UV coordinates, shader offset/scale vectors, and per-tile pixel resolution for any grid-based PBR decal atlas, trim sheet, or sprite sheet.
uvScale = vec2(0.2500, 0.2500); uvOffset = vec2(0.25, 0.25);
Common 2048 × 2048 PBR texture atlas grid splits
| Atlas Grid | Total Tiles | Pixels per Tile | UV Tile Scale |
|---|---|---|---|
| 2 × 2 | 4 tiles | 1024 × 1024 px | 0.5000 × 0.5000 |
| 4 × 4 | 16 tiles | 512 × 512 px | 0.2500 × 0.2500 |
| 8 × 8 | 64 tiles | 256 × 256 px | 0.1250 × 0.1250 |
| 4 × 2 | 8 tiles | 512 × 1024 px | 0.2500 × 0.5000 |
Cutting draw calls with PBR trim sheets and decal atlases
Grouping 16 wall trims or 64 bolt decals onto one 2K Albedo/Normal/ORM atlas lets an entire modular building render in a single draw call—critical for VR, mobile, and WebGL frame rates.
Direct shader UV transform values ready for copy-paste
Copy exact uvScale and uvOffset floats directly into Three.js, Unity Material Property Blocks, or Unreal SubUV nodes without manual division errors.
Frequently asked questions
Is tile index 0 at the top-left or bottom-left?
Row 0, Col 0 is top-left in image pixel space (UV V=0..1/rows); flip V (1 - v) if your engine uses OpenGL bottom-up V.
How do I prevent neighboring atlas tiles from bleeding at lower mips?
Leave 4–8 px edge padding inside each cell or limit max mip level in your shader sampler.
Can I use non-square grids like 4×2 or 8×4?
Yes—enter any custom columns and rows independently.
Does this calculator run offline?
Yes—100% browser-local math.