BLENDER • UV UNWRAPPING AND TEXTURING

Texture Baking — Bake/transfer simple textures conceptually

Learn how complex shading and lighting data are flattened into a single image map for efficient, portable rendering.

Historical Context & Motivation

The concept of texture baking arose from a fundamental tension in computer graphics: the desire for photorealistic surface detail versus the computational cost of calculating that detail in real time. Throughout the 1990s and early 2000s, film studios and game developers discovered that shading computations — lighting interactions, ambient occlusion, subsurface scattering — consumed enormous processing power when evaluated per-frame. The elegant solution was to pre-compute these calculations once, "bake" the results into a flat image, and then map that image back onto the surface using UV coordinates. This transformation from dynamic calculation to static texture became one of the most consequential workflow optimizations in the history of digital art production.

1984
Introduction of Texture Mapping
Edwin Catmull's early work on texture mapping at Pixar laid the groundwork for projecting 2D images onto 3D geometry, establishing the UV paradigm that baking would later exploit.
1996
Lightmap Baking in Games
id Software's Quake engine popularized pre-computed lightmaps — baked textures storing lighting data — enabling dramatic real-time environments on limited hardware.
2003
Normal Map Baking Becomes Standard
Studios began baking geometric detail from high-poly sculpts into normal maps applied to low-poly game models, a technique that transformed real-time character art.
2010
Substance & Procedural Baking
Allegorithmic's Substance tools introduced node-based procedural texturing with integrated baking, making multi-channel bake workflows accessible to independent artists.
2018+
Blender's Cycles Bake Pipeline
Blender's Cycles renderer matured its bake system to support combined, diffuse, glossy, emission, and ambient-occlusion passes, putting professional-grade baking into an open-source package.

The central question texture baking answers is deceptively simple: how can we preserve the visual appearance of complex shading and geometry without requiring a renderer to recalculate it every frame? Understanding this question — and the UV-based mechanism that resolves it — is essential for any visual artist working in 3D, whether your destination is a game engine, a web viewer, or an archival render.

Core Principles & Definitions

Before diving into the mechanics, it helps to ground the process in a set of foundational ideas. Texture baking is not a single operation but a family of techniques unified by the same principle: sample something expensive to compute, write the result to an image keyed to a model's UV layout, and reuse that image in place of the original computation. The following cards distill the concept into its essential components.

1

UV Layout as Address Space

Every vertex on a 3D mesh maps to a unique (U, V) coordinate on a 2D plane. This mapping functions as an address system — each surface point has a known pixel location in the texture image, enabling data transfer between 3D and 2D.
2

Ray-Based Sampling

During a bake, the renderer fires rays from the surface (or a cage) to evaluate shading at each texel. The computed color, normal, or occlusion value is written to the corresponding pixel in the bake target image.
3

Bake Passes (Channels)

Different types of information — diffuse color, glossy reflections, ambient occlusion, normals, emission — can be baked into separate images or combined into a single combined pass that encodes full shading.
4

Source → Target Transfer

Baking can transfer detail from a high-resolution source mesh to a low-resolution target mesh. The target's UVs determine where the sampled data lands, and a cage or ray distance controls how far rays search.
5

Resolution & Texel Density

The bake image's resolution (e.g., 1024 × 1024) and the UV island sizes together determine texel density — the number of pixels per unit of surface area. Uneven density causes some regions to appear sharp and others blurry.
KEY TAKEAWAY
Think of texture baking like photographing an elaborate mural and then wallpapering a simpler room with the photo. The mural's painstaking brushwork (complex shading) is captured once; the wallpaper (baked texture) reproduces the look without requiring an artist to repaint every wall. The UV map is the measuring template that ensures the wallpaper lines up with the room's architecture.

Visual Explanation — The Baking Pipeline

The top row illustrates the three-stage baking pipeline: the 3D scene with materials and lighting (left), ray-based sampling that evaluates shading at each texel (center), and the resulting flat baked texture (right). The bottom row shows the conceptual chain — the UV map provides the address, the renderer samples shading, the image stores the result, and the real-time engine reads the image back at negligible cost.

The diagram above captures the essence of every baking operation in Blender. At the leftmost stage, you have a fully shaded 3D scene — geometry with assigned materials, positioned lights, and an environment map if applicable. In the center stage, the Cycles renderer iterates over every pixel that falls within the mesh's UV islands on the target image; for each such texel, it fires a ray from the surface outward (or inward, depending on configuration) and evaluates the shading tree to determine a color value. That value is then written to the corresponding pixel in the bake target image, shown at the right. The result is a self-contained image file — PNG for 8-bit color, EXR for high-dynamic-range data — that can be plugged into any material node graph without requiring the original lights or complex shader network.

How Baking Works — The Technical Mechanism

Although texture baking in Blender does not require the artist to solve equations by hand, understanding the underlying mapping relationship clarifies why UV quality directly controls bake quality. The core operation is a coordinate transformation: for every pixel (i, j) in the bake image, the renderer determines which surface point on the mesh corresponds to that pixel by inverting the UV mapping, evaluates the shading at that 3D location, and writes the result back to (i, j).

UV-TO-TEXEL MAPPING
Texel(i, j) = Shade( P( u(i), v(j) ) )
Where i, j are pixel coordinates in the bake image; u(i), v(j) are the normalized UV coordinates derived from those pixels; P(u, v) is the 3D surface point corresponding to those UVs; and Shade() evaluates the full material and lighting response at that point.
TEXEL DENSITY
TD = Resolution / UV_Island_Scale × (1 / World_Surface_Area)
Texel density (TD) is proportional to the bake image resolution and the fraction of UV space an island occupies, and inversely proportional to the world-space area of the surface patch. Uniform texel density across all UV islands ensures consistent visual sharpness after baking.
RAY DISTANCE (SOURCE → TARGET)
Hit = P_target + d × n̂_target, 0 ≤ d ≤ d_max
When baking from a high-poly source to a low-poly target, the renderer casts a ray from each target surface point P_target along its normal n̂_target. The parameter d_max (ray distance) limits how far the ray travels, preventing it from picking up detail from unrelated geometry.

In practice, these relationships translate into a few decisive choices the artist must make before clicking Bake in Blender's Render Properties panel. The image resolution determines how many pixels are available to record shading detail — a 2048 × 2048 image offers four times the sampling resolution of a 1024 × 1024 image, at roughly four times the bake time. The UV layout determines how those pixels are distributed across the surface; overlapping islands cause data conflicts, while excessively small islands waste resolution. The ray distance, set under the Selected to Active option in Blender, controls how high-poly detail is captured — too short a distance clips detail, while too long a distance introduces artifacts from adjacent geometry.

💡 Blender-Specific Note
In Blender's Cycles renderer, you must create an Image Texture node in the target object's material and have it selected (active but not connected) before baking. Blender writes the bake result into whichever Image Texture node is currently selected in the Shader Editor — a common source of confusion for beginners.

Types of Bake Passes in Blender

Blender's Cycles renderer supports a variety of bake passes, each capturing a different aspect of surface appearance. Understanding what each pass encodes helps you decide which combination to bake for your particular workflow — whether you are preparing assets for a game engine like Unity or Unreal, archiving a complex Cycles material as a simple texture, or transferring sculpt detail onto a retopologized mesh.

Six common bake passes shown as stylized texture previews. The Combined pass captures everything; individual passes like Diffuse and Normal isolate specific data channels for recombination in a game engine's PBR shader.

In Blender, you select the bake type from the Render Properties > Bake > Bake Type dropdown. A Combined bake includes all light interactions and is the simplest conceptual starting point: what you see in the rendered viewport is approximately what ends up in the texture. However, combined bakes embed lighting data, which means if you later change the lighting in a game engine, the baked shadows and highlights will look wrong. This is why professional workflows separate bakes into individual channels — an albedo (diffuse color) map, a normal map, an ambient occlusion map — that can be reassembled and re-lit dynamically.

Worked Example — Baking a Diffuse Texture in Blender

The following walkthrough demonstrates how to bake the diffuse color of a procedural material onto a UV-unwrapped mesh in Blender using the Cycles renderer. The goal is to convert a Noise Texture node setup — which exists only as a real-time shader calculation — into a flat PNG that can be used in any engine or application.

Baking a Procedural Noise Texture to a Diffuse Map
1
Step 1 — Prepare the Mesh and UV LayoutStart with a UV-unwrapped mesh (e.g., a simple cube with Smart UV Project applied). Open the UV Editor and verify that all UV islands are within the 0–1 UV space, with no overlapping islands. Overlapping UVs would cause multiple surface areas to write to the same pixel, producing garbled results.
Clean, non-overlapping UV layout confirmed in the UV Editor.
2
Step 2 — Build the Procedural MaterialIn the Shader Editor, create a material with a Noise Texture node feeding into the Base Color input of a Principled BSDF. Add a ColorRamp between them to map the noise to a two-tone palette (e.g., terracotta and cream). Preview the material in Rendered viewport mode to confirm the look.
Procedural material displaying a two-tone noise pattern on the mesh.
3
Step 3 — Create the Bake Target ImageAdd an Image Texture node to the same material. Click New to create a blank image — set the resolution to 1024 × 1024 for this exercise. Name it "BakedDiffuse." Do not connect this node to anything — simply leave it selected (highlighted with a white outline). Blender writes the bake result into whichever Image Texture node is currently active.
A blank 1024 × 1024 image named "BakedDiffuse" selected in the Shader Editor.
4
Step 4 — Configure Bake SettingsSwitch to the Render Properties panel (camera icon), ensure the render engine is set to Cycles, and scroll to the Bake section. Set Bake Type to Diffuse. Under the Influence checkboxes, enable only Color (uncheck Direct and Indirect lighting contributions) — this isolates the pure base color without baked-in shadows or light bounces, giving you a clean albedo map.
Bake Type: Diffuse, Color only, no lighting contributions.
5
Step 5 — Bake and SaveClick Bake. Blender will iterate over every texel within the UV islands, evaluate the procedural Noise Texture at the corresponding 3D surface point, and write the color to the image. Once complete, open the Image Editor, select "BakedDiffuse," and use Image > Save As to export a PNG file. You can now disconnect the procedural nodes, plug the saved image into Base Color via the Image Texture node, and the mesh will display the same pattern — but as a lightweight bitmap instead of a computed shader.
A 1024 × 1024 PNG diffuse map faithfully reproducing the procedural noise pattern, ready for use in any rendering context.

Strengths & Limitations of Texture Baking

Like any technique in a digital artist's toolkit, texture baking involves trade-offs. The following comparison highlights where baking excels and where its constraints require careful management or alternative approaches.

Strengths and limitations of texture baking in production workflows
AspectStrengthsLimitations
PerformanceBaked textures are extremely fast to render in real time — a single texture lookup replaces potentially hundreds of shader calculations per pixel.Baking itself can be slow, especially at high resolutions or with complex shaders; a 4096 × 4096 combined bake with many light bounces may take several minutes.
PortabilityA baked texture is a standard image file (PNG, EXR) that works in any software — Unity, Unreal, web viewers, even print.Procedural parameters are lost; to tweak the look, you must rebake from the original Blender file.
Visual FidelityCan capture subsurface scattering, global illumination, and complex node trees that many real-time engines cannot reproduce natively.Resolution-dependent — zooming in on a baked surface reveals pixelation, unlike procedural textures that are resolution-independent.
Lighting FlexibilitySeparating passes (diffuse, normal, AO) preserves the ability to re-light dynamically in the target engine.A combined bake with embedded lighting looks correct only under the original light setup; changing lights creates visual inconsistencies.
UV DependencyForces a disciplined UV layout, which benefits the entire texturing pipeline downstream.Requires non-overlapping UVs with consistent texel density — models with poor UV layouts produce poor bakes.
KEY TAKEAWAY
Texture baking is analogous to recording a live orchestral performance: the recording captures every nuance of that particular performance (the complex shading), and playback is trivially cheap (a texture lookup), but you cannot ask the recording to play the same piece in a different key (different lighting) without re-recording. Separating your bake into individual instrument tracks (passes) gives you remix flexibility later.

Connection to Advanced Baking & PBR Workflows

The simple diffuse bake introduced in this lesson is a gateway to the broader ecosystem of Physically Based Rendering (PBR) texture workflows. In professional game art and archviz pipelines, artists routinely bake entire PBR channel sets — base color, metallic, roughness, normal, ambient occlusion, and height — from either procedural Blender materials or high-poly sculpts. These channel maps are then loaded into game engines whose shaders reconstruct the surface appearance under arbitrary lighting conditions. Advanced techniques such as cage baking (using a custom envelope mesh to control ray projection), UDIM tile baking (distributing UV islands across multiple texture tiles for higher effective resolution), and ID map baking (encoding material zones as flat colors for procedural masking in Substance Painter) all build upon the foundational bake-and-transfer logic covered here.

Introductory vs. advanced baking workflows
ConceptThis Lesson (Introductory)Advanced Level
Bake sourceSame mesh — procedural material baked to image on the same UV layout.High-poly sculpt → low-poly retopo via Selected to Active with cage control.
PassesSingle pass (diffuse color or combined).Full PBR set: base color, metallic, roughness, normal, AO, emission, height.
UV spaceSingle 0–1 UV tile.UDIM multi-tile layout (e.g., 1001–1010) for cinematic-resolution assets.
Post-bake editingMinimal — image used as-is.Baked maps imported into Substance Painter for layered painting and smart masks.

As you advance, you will find that the conceptual model remains identical: define a UV address space, sample data at each texel, write to an image. The sophistication grows in what data you sample (curvature, thickness, bent normals) and how you manage the UV layout (density balancing, padding margins, tile coordination), but the core transfer logic you have learned here will underpin every future bake you perform.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain in your own words why a UV map is essential for texture baking. What would happen if a mesh had overlapping UV islands during a bake?
PROBLEM 2BASIC
You have a mesh UV-unwrapped onto a 2048 × 2048 image. One UV island occupies approximately 25% of the UV space and represents a surface area of 4 m² in world space. What is the approximate texel density for that island, in pixels per square meter?
PROBLEM 3INTERMEDIATE
You want to bake the diffuse color of a procedural marble material in Blender, but you also need the resulting texture to work with dynamic lighting in Unity. Describe which bake settings you should use and explain why you would not use a Combined bake for this purpose.
PROBLEM 4APPLIED
You have sculpted a high-poly character head (2 million polygons) and retopologized it down to 8,000 polygons for a game. Describe the complete workflow to bake a normal map from the high-poly to the low-poly in Blender, including object selection order, the critical 'Selected to Active' setting, and what to do if the bake shows artifacts at the ears where the high-poly geometry extends beyond the low-poly silhouette.
PROBLEM 5CRITICAL THINKING
A colleague argues that texture baking is becoming obsolete because modern GPUs can evaluate complex procedural shaders in real time. Present a nuanced counter-argument that acknowledges the validity of their point while defending the continued relevance of baking in at least three distinct production contexts.

Lesson Summary

Texture baking is the process of pre-computing complex shading information and writing the result to a flat image keyed to a mesh's UV layout. The technique originated in the mid-1990s with lightmaps for real-time rendering and has since expanded to encompass normal maps, diffuse color maps, ambient occlusion, and full PBR channel sets. At its core, baking iterates over every texel in the target image, fires a ray to evaluate shading at the corresponding 3D surface point, and stores the result — transforming expensive per-frame computation into a one-time capture.

Success depends on three prerequisites: a non-overlapping UV layout with consistent texel density, an appropriately chosen bake pass type (Combined for quick previews, separated channels for dynamic re-lighting), and correct ray distance settings when transferring detail between meshes. In Blender, the active (selected but unconnected) Image Texture node in the Shader Editor receives the bake output. Mastering these fundamentals prepares you for advanced workflows including high-poly-to-low-poly cage baking, UDIM multi-tile layouts, and integration with texturing tools like Substance Painter.

Varsity Tutors • Blender • Texture Baking — Bake/transfer simple textures conceptually