Texture baking, also called map baking, is the process of projecting surface information from one 3D model, or from a costly shading calculation, into 2D image maps stored in the UV space of a target mesh. In sculpting and across 3D graphics & animation, it is the step that turns a multimillion-polygon sculpt into normal, ambient occlusion and curvature maps that a lightweight game or real-time model can display.
Baking exists because detail is expensive as geometry but cheap as pixels. A texture lookup costs the GPU almost nothing, so baked maps let a model of a few thousand triangles reproduce the look of millions, as long as the viewing angle and lighting do not expose the illusion.
How texture baking projects detail
Most bakes rely on ray casting from the low-poly surface. For every texel in the target UV layout, the baker finds the matching point on the low-poly mesh, fires a ray along its interpolated normal and records what the ray hits on the high-poly source: the direction of the surface, its distance, its color or its occlusion.
Two settings control where rays start and how far they travel. A ray distance or front and rear offset defines a simple search shell, while a baking cage is an inflated copy of the low-poly mesh that gives each vertex an explicit ray origin. Cages produce cleaner results on hard edges because they avoid the gaps that averaged normals would otherwise cause.
A second family of bakes needs no high-poly source at all. Lighting and shading bakes evaluate a renderer on the model itself and store the result, for example precomputed global illumination in a lightmap or a procedural material flattened into ordinary textures.
Common baked map types
Each baked map type captures one kind of information and feeds a specific slot in a material or a later texturing step. The table summarizes the maps most often baked from sculpts.
| Map | What it stores | Main use |
|---|---|---|
| Tangent-space normal map | Surface direction relative to the low-poly | Fake fine relief under lighting |
| Ambient occlusion map | How exposed each point is to ambient light | Contact shadows, dirt masks |
| Curvature map | Convex and concave areas | Edge wear and cavity masks |
| Height or displacement map | Distance between high and low surfaces | Parallax or true displacement |
| Thickness map | Approximate local depth of the object | Subsurface scattering control |
| ID or color map | Material regions or polypaint colors | Selection masks, base color |
| Position or gradient map | World or object-space coordinates | Directional dust and gradients |
Normal maps are usually baked in tangent space because it survives deformation and reuse. The baker and the target engine must agree on the tangent basis, commonly MikkTSpace, and on the green channel convention, since OpenGL and DirectX formats flip that channel.
Texture baking within the sculpting workflow
Texture baking sits between retopology and texture painting in a typical asset pipeline. The sculpt supplies detail, retopology supplies a clean low-poly mesh, UV unwrapping supplies the space for pixels, and baking connects the three.
| Stage | Output | Relation to baking |
|---|---|---|
| Digital sculpting | High-poly mesh with fine detail | Source of the bake |
| Retopology | Clean low-poly mesh | Target of the bake |
| UV unwrapping | Non-overlapping UV islands | Defines texel layout |
| Baking | Normal, AO, curvature and other maps | Core transfer step |
| Texture painting | Albedo, roughness, metallic maps | Uses baked maps as masks |
| Engine import | Game-ready asset | Must match tangent basis |
Baking is related to, but distinct from, detail projection. Projection moves sculpted detail onto another mesh as geometry, whereas baking stores that detail as pixels. Vector displacement maps sit in between, because they are baked images that drive real displacement at render time.
Settings that decide bake quality
A clean bake depends more on preparation than on the baking tool. The low-poly silhouette should follow the high-poly closely, hard edges should coincide with UV seams, and UV islands need enough padding or dilation to prevent color bleeding into neighbors at lower mipmap levels.
- Resolution: 2048 or 4096 pixels square is common for hero assets; 512 to 1024 suits props.
- Anti-aliasing or supersampling: 4x to 16x samples smooth stair-stepping on fine edges.
- Padding: about 8 to 16 pixels at 2K keeps seams clean when mipmaps are generated.
- Explode or match by name: separating parts prevents rays from hitting neighboring pieces.
- Bit depth: 16-bit output avoids banding in normal and height maps.
Typical baking artifacts and fixes
Most baking errors are geometric, not caused by the software. Rays that start too far away hit the wrong surface, rays that stop too early miss detail, and smoothing that disagrees with the engine produces visible shading gradients across flat faces.
| Artifact | Likely cause | Fix |
|---|---|---|
| Wavy or skewed details | Ray direction follows averaged normals | Use a cage or add support geometry |
| Missing or cut-off detail | Ray distance too short | Increase cage offset or distance |
| Projection from wrong part | Overlapping objects during the bake | Explode meshes or match by name |
| Hard seams on edges | Hard edges not split in the UVs | Place UV seams on hard edges |
| Gradient shading on flat faces | Mismatched tangent space | Bake and render with the same basis |
| Color bleeding at seams | Insufficient padding | Increase dilation in pixels |
Baked results also have inherent limits. Normal maps cannot change a silhouette, baked lighting does not react to moving lights, and any later change to the high-poly sculpt requires a new bake to stay consistent.
Explained without jargon
Texture baking is like taking a detailed photograph of a sculpture and wrapping it around a simpler shape. The simple shape looks almost as rich as the original. It is much lighter to handle.
Artists first build a very detailed model. Then they make a simple version for games or apps. Baking copies the bumps, shadows and edges from the detailed model into pictures. Those pictures are painted onto the simple model. The computer then draws the scene quickly, yet viewers still see fine detail.
A typical use case
A prop artist prepares a sci-fi helmet for a console game. The sculpt contains about 8 million polygons with panel lines, bolts and scratches, while the game budget allows 6,000 triangles for the helmet.
After retopology and UV unwrapping, the artist sets up a cage, bakes 4K normal, ambient occlusion, curvature and ID maps with 8x supersampling, and fixes one skewed vent by adding two support edges. The curvature and occlusion maps then drive edge wear and grime in the texturing tool. In the engine, the 6,000-triangle helmet shows every panel line under moving lights and costs only a few texture lookups per pixel.