LEARN // meshfx
What is UV packing
UV packing arranges the flat pieces of your model's unwrap, called islands, inside the square texture area so none overlap and as little of the texture as possible sits empty. It rotates and moves the islands, scales them to an even pixel density, and leaves a margin between them so the texture does not bleed across seams.
pyrofx effects work today, and new accounts start with $5 of usage.
meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the Playground.
- Islands inside the 0 to 1 square, no overlap
- Even texel density across islands
- Padding that survives a few mip levels
- meshfx: measured outputs; hosted availability shown separately
01 // WHAT IT MEANS
What a good pack looks like
A packer takes the islands from an unwrap and fits them into the square so they cover as much of it as possible. A tidy layout from a hand unwrap fills most of the texture, while a fragmented unwrap from a scan or an AI 3D generator can leave much of it empty, which wastes resolution.
Padding is the gap between islands. Mipmaps average neighboring pixels at a distance, so the gap has to survive a few mip levels, and the empty space is filled with each island's edge color (dilation) so a bleed shows the right color.
02 // IN YOUR ENGINE
Why packing changes what you see
- Tighter packing means more pixels per meter, so the same 2048 x 2048 px texture looks sharper.
- Overlapping islands, which some artists use on purpose for mirrored halves, break precomputed lighting and ambient occlusion, so lightmap UVs must never overlap.
- Too little padding shows thin colored lines along seams as the object moves away.
- Several objects packed into one layout can share one material and draw together, like a texture atlas.
03 // SPATIAL COMPILER
meshfx and uv packing
meshfx retains existing UVs during triangle reduction. Create the texture atlas in your editor. Hosted meshfx runs are available in the Playground.
Should a UV packed texture use power of two dimensions?
Yes. Sides of 1024, 2048 or 4096 pixels compress and mipmap cleanly in every engine, so pack UVs for your target shipping size.
How much padding should UV islands have?
Use roughly 4 pixels at 512, 8 pixels at 1024 and 16 pixels at 2048 so padding survives mipmap levels without bleeding.
Should I pack UVs for a 1024 or 2048 texture?
Choose based on needed texel density at camera distance. When unsure, pack for the larger size so padding still works if scaled down.
Why should I repack UVs on a scanned or generated model?
Scans and generated models often leave hundreds of tiny islands and wasted space. Repacking gives you sharper detail from the same texture size.
Explore meshfx outputs
Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.