---
title: "Bake (precompute) high-poly detail onto a low-poly mesh"
description: "Precompute high-poly detail by lining both meshes up, giving the low one clean UVs, setting a cage and casting rays to record normals, color and occlusion."
canonical: https://appliedmanifold.com/mesh/bake-high-to-low-poly/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [meshfx](https://appliedmanifold.com/mesh/)
3.  Bake (precompute) high to low poly

meshfx // PRECOMPUTED MAPS

# How to bake (precompute) high-poly detail onto a low-poly model

You bake (precompute) high-poly detail by placing the detailed model and the light game mesh in the same spot, then casting rays from the low mesh to the high one to record its surface into a normal map, plus color and ambient occlusion if you need them. The low mesh needs clean, non-overlapping UVs before you bake (precompute).

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx docs →](https://appliedmanifold.com/docs/mesh/)

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](https://appliedmanifold.com/playground/).

-   Low mesh: clean UVs, triangulated
-   A cage controls where rays reach
-   Unreal flips the normal map's green channel

01 // BY HAND

## Bake (precompute) a normal map in any 3D editor

1.  Make the low mesh follow the high one's outline, unwrap it with no overlapping islands, and triangulate it.
2.  Put both meshes in the same place with their transforms applied.
3.  Set hard edges on the low mesh only where there is a UV seam, and keep the rest smooth.
4.  Set the bake (precompute) distance or cage (a slightly inflated copy of the low mesh that encloses the high one) so the rays reach every part of the high mesh.
5.  Bake (precompute) the normal map in tangent space, then ambient occlusion and color at the same resolution.
6.  Look for black spots and wavy lines, push the cage out where rays missed, and bake (precompute) again.
7.  In your engine, mark the texture as a normal map in its import settings so it decodes correctly.

02 // NORMAL MAP FORMAT

## Match the engine's normal map convention

Normal maps come in two conventions that differ only in the green channel. Godot, Unity and glTF use the OpenGL style (Y+), and Unreal Engine uses the DirectX style (Y-). If bumps look like dents in one engine, invert the green channel, or in Unreal tick Flip Green Channel on the texture.

Bake (precompute) in MikkTSpace, the tangent space glTF and most engines use, so the map matches the engine's shading.

03 // COMMON ERRORS

## Fix the usual bake (precompute) errors

-   Black or garbage patches mean the rays missed, so increase the cage or bake (precompute) distance in that area.
-   Wavy lines across a cylinder mean the low mesh has too few sides there, so add a few edges.
-   Visible seams in the normal map come from hard edges that do not sit on UV seams, so split the UVs there or soften the edge.
-   Detail from one part appearing on another, such as a finger printed onto the next finger, goes away if you bake (precompute) with the parts moved apart and then move them back.

04 // meshfx

## meshfx for bake (precompute) high to low poly

meshfx retains existing UVs during triangle reduction. Create the texture atlas in your editor. Hosted meshfx runs are available in the Playground.

05 // RELATED

## Related pages

-   [Texture baking AvailableTexture baking renders detail into textures, such as a high-poly model's shape into a normal map for a low-poly game model.](https://appliedmanifold.com/learn/texture-baking/)
-   [Pack an ORM texture AvailablePack ambient occlusion, roughness and metallic into one ORM texture, and where it goes in glTF, Godot, Unreal, Unity and Roblox.](https://appliedmanifold.com/mesh/pack-textures-orm/)
-   [Retopology AvailableRebuild a dense or messy model as clean quads that keep its shape, then unwrap it and bake (precompute) the detail back, by hand in any 3D editor.](https://appliedmanifold.com/mesh/retopology/)
-   [Fix missing UVs AvailableSpot missing or broken UVs, unwrap and pack them again by hand, and know when your engine needs a second UV set for lightmaps.](https://appliedmanifold.com/mesh/fix-missing-uvs/)
-   [Clean up a 3D scan AvailableTurn a dense photogrammetry scan into a light game model: cut, fill, rebuild the mesh, bake (precompute) the detail and remove the shoot's lighting.](https://appliedmanifold.com/mesh/clean-up-3d-scan/)
-   [ORM texture AvailableAn ORM texture packs ambient occlusion, roughness and metallic into the red, green and blue of one image for cheaper PBR materials.](https://appliedmanifold.com/learn/orm-texture/)
-   [meshfxmeshfx reads an input model, repairs surface faults and compiles reduced GLB levels of detail for Godot, three.js or any glTF loader.](https://appliedmanifold.com/docs/mesh/)

[All pages in meshfx →](https://appliedmanifold.com/mesh/)

[← Fix missing UVs](https://appliedmanifold.com/mesh/fix-missing-uvs/)[Pack an ORM texture →](https://appliedmanifold.com/mesh/pack-textures-orm/)

06 // FAQ

## Texture baking (precomputing) questions

[All questions →](https://appliedmanifold.com/faq/)

**README.BAKE\_HIGH\_TO\_LOW\_POLY**

### How do I fix shading artifacts on a game model?

Reset or recalculate vertex normals, mark sharp hard edges and transfer a normal map using the same tangent basis your engine expects.

### How do I compile detailed sculpts onto a light game mesh?

Line both meshes up, give the light one clean UVs, set a cage that encloses the detailed one and compile a tangent space normal map.

### How do I create a light game model from a detailed sculpt?

Retopologize or decimate a copy of the sculpt to your budget, unwrap it and compile the sculpt detail onto it so normal maps carry the surface.

### Do I need to compile textures again after retopology?

Yes. The new mesh has new UVs, so every map painted or compiled for the old layout has to be compiled again from the original.

## Explore meshfx outputs

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

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx →](https://appliedmanifold.com/docs/mesh/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
