Mipmap Bleed Prevention
UV Island Padding & Edge Dilation Pixel Calculator
Stop dark background seams from bleeding across UV borders when cameras pull back. Compute exact pixel padding, bake dilation width, and normalized 0–1 UV margins for Blender, Maya, and RizomUV.
Polycount-standard UV island padding table by texture resolution
| Texture Size | Recommended Padding | Edge Dilation | Normalized UV Margin |
|---|---|---|---|
| 512 × 512 | 4 – 8 px | 8 – 16 px | 0.0078 – 0.0156 |
| 1024 × 1024 | 8 – 16 px | 16 – 32 px | 0.0078 – 0.0156 |
| 2048 × 2048 | 16 px | 32 px | 0.0078 |
| 4096 × 4096 | 32 px | 64 px | 0.0078 |
Why insufficient UV padding creates glowing or black seams at distance
As a 3D mesh moves farther from the camera, the GPU switches to lower mipmap levels where adjacent texels average together. If two UV islands sit only 2 pixels apart on a 4K map, their colors bleed into each other by Mip 2—creating crisp dark lines along every UV cut.
Setting exact normalized margins in Blender Pack Islands
Blender's UV → Pack Islands expects a normalized fraction of total UV width rather than raw pixels. Copy the exact Blender Margin value computed here so every resolution stays mip-safe automatically.
Frequently asked questions
What is the difference between UV island padding and bake edge dilation?
UV padding is the empty space between islands during UV packing; edge dilation extends border pixels outward into that empty space during baking so mipmaps sample valid edge colors.
Should I dilate normal maps with edge pixels or flat purple?
Always use infinite or wide edge dilation (bleeding the actual border normal outward) rather than filling gutters with flat #8080FF purple, which causes bevel seam artifacts.
What padding should I use on a 2048 × 2048 game prop?
Use at least 16 pixels between UV islands (32 px dilation) so seams stay invisible down through Mip 3 (256 × 256).
Does padding apply to seamless tiling materials?
No—seamless tiling materials fill the full 0–1 UV square and wrap across edges instead of packing separate UV islands.