Sub topic 9
Selected to Active: Choosing Source and Target Objects
This chapter assumes you know basic Blender navigation, object selection, the Shader Editor, and UV unwrapping. It focuses on object roles during a high-to-low bake, not on creating the maps themselves.
Source and target roles
A source is the object that provides the surface detail. It is usually the dense sculpt or high-poly model. A target is the object that receives the projected detail. It is usually the lighter low-poly model used in a game or real-time scene.
In Blender’s Selected to Active workflow, the source and target are both selected, but the target is the active object. The active object is the one with the brighter outline and the name shown in the Properties editor. The bake writes the result to the target’s active material and selected image texture.
| Object role | Typical mesh | Selection state |
|---|---|---|
| Source | Dense high-poly model | Selected, not active |
| Target | Low-poly game mesh | Selected and active |
Select the source first, then select the target last. The last selected object becomes active. If several high-poly objects make up one asset, select all of them before selecting the one low-poly target.
Setting the selection correctly
Use the Outliner or the 3D Viewport to verify the roles before baking. A common mistake is making the high-poly object active. Blender then treats the dense mesh as the bake destination, which can produce an unexpected result or fail if its material does not contain the intended image texture.
Another mistake is selecting only the low-poly object. Selected to Active needs at least one separate source object and one active target object. The source and target should occupy the same position and represent the same asset. Their surfaces do not need identical topology, but their shapes must correspond closely enough for projection rays to find the detail.
The following script makes the roles explicit:
import bpy
high = bpy.data.objects["Asset_high"]
low = bpy.data.objects["Asset_low"]
bpy.ops.object.select_all(action="DESELECT")
high.select_set(True)
low.select_set(True)
# The active object is the bake target.
bpy.context.view_layer.objects.active = low
print("Bake source:", high.name)
print("Bake target:", bpy.context.view_layer.objects.active.name)The script does not start a bake. It only establishes a repeatable selection state. This is useful when a scene contains several similarly named objects or when you want to avoid relying on viewport selection order.
Before opening the Bake panel
Check these conditions:
- The high-poly and low-poly objects are separate objects.
- Both objects are selected.
- The low-poly object is active.
- The low-poly object has the material and image texture that will receive the bake.
- The objects occupy matching locations and orientations.
- No unrelated selected object is included in the bake.
Exercise
You selected the high-poly and low-poly objects, but the high-poly object has the bright outline and is active. Which object should be active for Selected to Active baking?
Show answer
The low-poly object should be active. Keep the high-poly object selected as the source, then select the low-poly object last.