meshfx // UVS
How to fix a model with missing or broken UVs
You fix missing or broken UVs (the 2D coordinates that place a texture on each face) by unwrapping the mesh again: mark seams where the cuts will hide, unwrap, and pack the islands into the 0 to 1 square with a little padding. Then bake (precompute) or project the old texture onto the new layout so it lines up.
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.
- No UVs: the texture shows one flat color
- Seams go where the camera rarely looks
- Lightmaps need a second UV set
01 // HOW IT SHOWS
Signs a model's UVs are missing or broken
- The texture shows as one flat color, or the importer reports that the mesh has no UV channel.
- The texture looks smeared or stretched in streaks across some faces.
- Seams show as hard lines of the wrong color, which get worse at a distance as mipmaps (smaller copies of the texture for far views) blur across the gap.
- Baked (precomputed) lighting or ambient occlusion has dark blotches where UV islands overlap.
02 // BY HAND
Unwrap and pack the UVs again
- Clean the mesh first, and weld duplicate vertices so islands do not split along every crack.
- Mark seams along hard edges and in places the camera rarely sees, such as the underside and the inside of joints.
- Unwrap, then put a checker texture on the model and check that the squares stay square and the same size everywhere.
- Pack the islands into the 0 to 1 square with a few pixels of padding at your texture size, and give islands the player sees up close more room.
- Bake (precompute) the old texture onto the new UVs from a copy of the mesh that still has the old ones, or repaint it.
- Export and check in your engine that the texture lines up and the seams are clean.
03 // IN THE ENGINE
Second UV sets for lightmaps
Baked (precomputed) lighting needs a second UV set in which no islands overlap. Unity can build one with Generate Lightmap UVs in the model import settings, and Godot 4 builds one when you set Light Baking to Static Lightmaps on import. The first UV set, the one your textures use, still has to come from your 3D editor.
Overlapping islands are fine in the first UV set when two parts share the same texture, such as mirrored halves of a model, and wrong in any set you bake (precompute) lighting or ambient occlusion into.
04 // meshfx
meshfx for fix missing uvs
meshfx retains existing UVs during triangle reduction. Create the texture atlas in your editor. Hosted meshfx runs are available in the Playground.
Why does my texture not show when I load it in three.js?
The mesh may lack UVs, so it shows one color. If it has UVs, load the image with TextureLoader and set flipY false for glTF.
How do I fix missing or unusable UVs on an AI generated model?
Clean and weld the mesh, unwrap it with seams in hidden places and pack the islands. Then compile the generated texture onto the new UVs.
How do I color a 3D model before it has UVs?
Use vertex colors, which store one color per vertex and need no UVs. They export in glTF and FBX and most engines read them in materials.
Will retopology destroy my existing UVs?
Yes. Retopology creates new faces, so old UVs do not carry over. You must unwrap the new mesh and compile the old texture onto it.
Explore meshfx outputs
Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.