Texture Baking: What It Is and How It Works
In this article
Texture baking is the process of transferring surface detail—such as color, roughness, or bump—from a high-polygon 3D model onto a flat 2D image map, which is then applied to a lower-polygon version of the same model. In simpler terms, it “bakes” the fine detail into a texture file so that a simpler mesh can appear as detailed as the original. This technique is standard in game development, visual effects, and real-time 3D rendering, where performance matters as much as visual fidelity.
Why Texture Baking Exists
Real-time engines like Unity, Unreal, or web-based renderers have strict polygon budgets. A high-poly model can have millions of triangles, but a game-ready model typically uses a fraction of that. Texture baking lets artists keep the visual richness of the high-poly model while using a lightweight mesh for actual rendering. Without baking, you would need to render the heavy model directly, which would slow down or crash most systems.
The technique originated in the early days of 3D graphics when hardware could only handle a few thousand polygons. Artists would hand-paint shadows and highlights onto low-poly models to fake detail. The modern workflow automates this: bake maps from a high-poly source onto a low-poly target, capturing everything from surface bumps to ambient occlusion.
How Texture Baking Works
The core idea is to store 3D surface information in a 2D image. Here’s the typical process:
- Create or obtain a high-poly model with all the detail you want (sculpted wrinkles, rivets, scratches).
- Create a low-poly version that matches the overall shape but has far fewer polygons.
- Unwrap the low-poly model into a UV layout—this maps every 3D surface point to a 2D coordinate.
- In a 3D application (like Blender, Maya, or Substance Painter), use a baking tool that projects detail from the high-poly onto the low-poly’s UV map.
- The result is a set of texture maps (e.g., normal, roughness, ambient occlusion) that you apply to the low-poly model.
The baking process works by casting rays from the low-poly surface toward the high-poly surface. For each texel (texture pixel), the tool records the difference in position, normal direction, or color, and stores that in the image. This is why the low-poly model must be close to the high-poly shape—otherwise, the projection may miss or produce artifacts.
Types of Baked Maps
Different maps store different kinds of detail. The most common are:
- Normal map – Stores surface direction (how light bounces off) to fake bumps and dents.
- Ambient occlusion (AO) map – Stores soft shadows in crevices and contact areas.
- Roughness/Glossiness map – Stores how shiny or matte a surface is.
- Curvature map – Highlights concave and convex areas, often used for masking in texturing.
- Position map – Stores world-space coordinates, useful for procedural effects.
- Albedo (color) map – Stores base color, often baked from a painted high-poly or a photo.
Each map serves a specific purpose, and you can combine them in a material to achieve a realistic look without extra geometry.
Choosing the Right Baking Settings
Getting a clean bake requires attention to several settings. The most important are:
- Margin/Extrusion – The distance the rays travel. Too small causes missing detail; too large can cause bleeding from adjacent areas.
- UV padding – The space between UV islands. A few pixels of padding prevent texture bleeding.
- Resolution – Higher resolution captures more detail but increases file size and memory usage. 1024×1024 or 2048×2048 are common for game assets.
- Cage – A mesh that surrounds the low-poly model and controls where rays are cast. A custom cage can fix many baking artifacts.
- Image format – Use 16-bit or 32-bit float for normal or position maps to avoid banding; 8-bit is fine for color.
If you’re new, start with a simple test object (like a cube with a sphere on top) to understand how each setting affects the result.
Common Problems and How to Fix Them
Baking rarely works perfectly on the first try. Here are frequent issues and typical solutions:
- Black or missing areas – Rays are not hitting the high-poly. Increase the extrusion or adjust the cage.
- Hard shadows or artifacts – The low-poly is too far from the high-poly. Adjust the cage to match the shape more closely.
- UV seams showing – Not enough padding or the UV islands are too close. Increase padding and ensure islands have a few pixels of space.
- Normal map looks inverted – The green channel is flipped. Invert the green channel in your image editor or set the correct orientation in the baking tool.
- Bleeding from one island to another – The UV islands are overlapping or too close. Re-unwrap with more spacing.
Most baking tools have a “cage” option that lets you manually adjust the projection distance, which solves many of these problems.
Texture Baking vs. Other Techniques
Texture baking is often compared to other methods of adding detail:
- Decals or stencils – These are flat images projected onto a surface, but they don’t adapt to the underlying geometry like baked maps do.
- Procedural textures – Generated in real-time using math, these are resolution-independent but can be harder to control for specific art.
- Displacement mapping – Actually moves the geometry, unlike normal maps which only fake it. Displacement is heavier but more accurate for silhouettes.
- Hand-painting – Directly painting on the model gives full control but takes longer and often still requires baking for lighting.
Baking is the most common choice for game assets because it gives a good balance of quality and performance.
Frequently Asked Questions
Do I need a high-poly model to bake textures?
No, you can bake from a high-poly, but you can also bake from a sculpt, a photo, or even a procedural material applied to a high-poly mesh. The key is that the source has more detail than the target.
Can I bake textures without UVs?
No, UVs are required because the baking process needs to know where each 3D point maps to on the 2D image. Without UVs, there is no way to store the baked data.
Is texture baking only for games?
No, it’s also used in film, architectural visualization, and any real-time 3D application. Even offline renderers use baking to speed up look development or to export assets to game engines.
What is the difference between baking and painting textures?
Painting is manually applying color and detail with a brush tool. Baking is an automated process that transfers detail from a source to a target. You can paint on top of baked maps to add extra detail.
How long does a bake take?
It depends on the resolution, the number of objects, and your hardware. A single 2048×2048 map can take seconds to a few minutes. Large scenes with many objects can take longer.
Can I bake textures in Blender?
Yes, Blender has a built-in baking system that supports all common map types. It’s free and works well for both beginners and professionals.