blender-texture-baking
Agent skill fromEL4CTEO/blender-skills
Bake texture maps in Blender 5.2 Cycles - high-to-low normal maps with cage/extrusion, AO, curvature, ID, thickness, base color/roughness/metallic from procedurals, ORM packing, OpenGL vs DirectX, margins, GPU baking, fixing skewing/waviness/seams. Use when transferring sculpt or high-poly detail to game meshes or converting procedural materials to textures.
How to install blender-texture-baking
install blender-texture-baking
# install the blender-skills pack with the skills CLI
npx skills add EL4CTEO/blender-skills# or add only this skill to Claude Code: copy the folder
skills/blender-texture-baking/
# into
~/.claude/skills/blender-texture-baking/ (all projects)
.claude/skills/blender-texture-baking/ (one project)
1# Texture Baking (Cycles)23The execution model is in `blender-core`. UVs come from `blender-retopology-uv` and materials from `blender-pbr-materials`.45## One call6```7scripts/bake_maps.py -- --low SM_Crate --high Crate_high Crate_bolts --maps normal ao curvature id \8 --res 2048 --samples 64 --margin-px 16 --pack-orm --out //textures9```10Self-bake (procedural → textures, no `--high`): `--low SM_Crate --maps basecolor roughness metallic normal --pack-orm`.11The script picks the GPU (OptiX/CUDA/HIP/Metal/oneAPI) and falls back to CPU, creates the target images with correct color spaces, cleans up its temporary nodes, and saves `T_<name>_<N|AO|CURV|BC|R|M|ORM...>.png`.1213## Preparation checklist (most bake bugs come from this list)141. **Low poly**: UVs unwrapped, no overlaps (stacked/mirrored islands moved +1 U), padding ≥ 8 px at the bake resolution, scale applied.152. **Hard edges = UV seams** on the low poly. Use either smooth shading with the bake handling gradients, or hard edges split at seams. Never put a hard edge inside a UV island.163. **Triangulate the low poly the same way the engine will**, or export the triangulated mesh. Mismatched triangulation shows as shading seams.174. **High poly** covers the low completely and pokes out of it only a little. Floaters (bolts, panel details) can hover just above the surface, but must stay within the extrusion distance.18…
Excerpt shown under the repository's MIT license.
