meshfx // GENERATED MODELS

How to clean up an AI-generated 3D model for a game

You clean up a model from an AI 3D generator by fixing what generators tend to get wrong, in order: delete floating fragments and hidden inside faces, weld the mesh, cut the triangle count to your budget, rebuild the UVs, bake (precompute) the textures, then set scale and a base pivot before export.

pyrofx effects work today, and new accounts start with $5 of usage.

MODULE // meshfx AVAILABLE

meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the Playground.

  • Repair the mesh before you reduce or retexture it
  • Expect fragments and fused parts
  • Paint out baked-in (precomputed) shadows

01 // WHAT YOU GET

What a generated model usually arrives with

  • One fused surface, so a sword, the hand holding it and the sleeve cannot move apart.
  • Dense, even triangles, often far more than a game needs, spread the same over flat and detailed areas.
  • Small fragments floating near the model and faces hidden inside it.
  • UVs cut into hundreds of tiny islands, or none at all, and shadows painted into the color texture.
  • No real scale, and a pivot at the center of the bounding box instead of where the model stands.

02 // BY HAND

Clean it up in your 3D editor

  1. Import the file, apply scale and rotation, and scale the model to real size next to a 1 m cube.
  2. Select by loose parts and delete the fragments that float away from the main body.
  3. Merge vertices by distance to weld cracks, then select non-manifold edges and fill or delete what the selection finds.
  4. Delete the interior faces left where the generator fused parts together.
  5. Decimate to your triangle budget, or retopologize if the model will animate.
  6. Unwrap new UVs and bake (precompute) the original color, plus a normal map, onto the cleaned mesh.
  7. Move the origin to the base of the model, recalculate normals, and export GLB or FBX for your engine.

03 // BAKED (PRECOMPUTED) LIGHTING

Remove the lighting painted into the texture

Many generated textures include shadows and highlights from a light that does not exist in your scene. In the engine they fight the scene's real lights, so a dark patch stays under the chin even in full sun. Paint out the strongest shadows and even out the brightness of the color texture in an image editor before you bake (precompute), then let the engine light the model.

04 // meshfx

meshfx for clean up a generated model

meshfx measures holes, flipped faces and non-manifold edges. Each repair is checked against the source and undone with a warning if it moves the surface too far. Hosted meshfx runs are available in the Playground.

06 // FAQ

Generated model cleanup questions

All questions →

README.CLEAN_UP_AI_GENERATED_MODEL
How do I clean up an AI generated 3D model for a game?

Delete floating parts and interior faces, weld the mesh, reduce it to your budget, unwrap UVs and compile textures. Finish by setting scale and pivot before export.

How do I remove floating parts from an AI generated mesh?

Select the main body, select everything linked to it, invert the selection and delete. Check the model from below where small fragments often hide.

What is the best workflow for repairing AI generated 3D assets?

Repair first, then reduce, then retexture. Remove junk geometry and weld vertices, cut the triangle count, then rebuild UVs and compile textures onto the final mesh.

How do I remove internal or overlapping geometry from an AI generated model?

Merge vertices by distance first so overlapping copies collapse, then select interior faces or hide the outer shell to delete them and fill any holes.

What is a game ready model after cleanup?

A game ready model fits your triangle budget, has clean UVs and compiled textures, real world scale, a base pivot and a simple collision shape.

Explore meshfx outputs

Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.

All effects, guides and explainers →