What is a watertight mesh
A watertight mesh is a closed surface with no holes, where every edge joins exactly two faces, so it has a clear inside and outside. You can ignore gaps when you only render, but anything that needs volume, such as a physics simulator working out mass or a 3D printer slicing layers, needs a sealed solid.

Source, holes in red
Closed solids
- 7 to 0holes in the mesh
- 52 to 0open edges, where the surface has a gap
- 506 to 0places where parts pass through each other
- 1.8 mtall, set to real-world size
The Lantern sample model from Khronos, compiled on the hosted API on 3 December 2026.
What makes a mesh watertight
Imagine filling the mesh with water. If any water could leak out, it is not watertight. In mesh terms, a border edge belongs to only one face and marks a hole, and an edge shared by three or more faces marks a fold that is not a real surface.
Overlap matters too. When two parts of the surface pass through each other, the inside of the object is ambiguous, even though no edge is open.
What goes wrong without it
- A physics engine gets the wrong volume, so mass and center of mass are off and the object tips or sinks.
- A 3D print slicer rejects the file or leaves a gap in a layer.
- Boolean cuts and collision builders fail or return an odd shape.
Check and close a mesh by hand
- Run your editor's non-manifold or open-edge selection to find border edges.
- Fill each hole, then merge duplicate vertices so the surface joins up.
- Split parts that pass through each other, or rebuild the mesh as one closed surface, then check again.
Closed meshes with meshfx
Your agent can ask meshfx to fill every hole and rebuild each part as a closed solid, at real size and with the texture kept. On a lantern post it took the source from 7 holes and 506 overlaps to none, and the report says whether every part is closed. See the watertight mesh job for the before and after.
Use with your agent
Paste the prompt into Claude Code, Cursor or Codex. Your agent connects to Spatial Compiler and comes back with a GLB and a report that counts the holes, flipped faces and non-manifold edges, so you know what to fix.
New accounts start with $5 of usage, and you see the price of each job before it runs.
Connect the Spatial Compiler MCP server at https://spatialcompiler.dev/mcp if it isn't connected yet. Use meshfx to check my model for holes, flipped faces and non-manifold edges and give me a GLB with the report. Run a Draft first. Your first 50 mesh Drafts are free with the $5 signup credit. Ask before running a final compile.
Or add the server yourself in Claude Code:
claude mcp add --transport http spatial-compiler https://spatialcompiler.dev/mcp
Watertight mesh questions
What is a watertight mesh?
A watertight mesh is a closed surface with no holes, where every edge joins exactly two faces. It has a clear inside, so software can compute its volume.
How do I make a mesh watertight?
Fill the holes, remove faces that pass through each other, and rebuild any part that still has open edges. Then check that every part reports closed before you export.
What is the difference between watertight and manifold?
A manifold mesh has no edge shared by more than two faces. A watertight mesh is manifold and also has no open edges, so it fully encloses a volume.
Does a game need a watertight mesh?
Rarely for drawing. Physics that needs volume and mass, such as simulation and 3D printing, does need one.