open trim_sheet_baker --docs

Trim Sheet Baker
User Guide

Model a trim sheet in Blender, click Bake, and get a complete, game-ready texture set. Then snap your models' UVs onto it with one click. This guide explains everything the add-on does, panel by panel.

Version 1.0.4 · Blender 4.2 and newer

Trim Sheet Baker: a stone block turning from its modelling wireframe into a textured trim, next to the baked color, normal, roughness and ID maps
Video tutorial: Trim Sheets, complete workflow in Blender, part 3
Video tutorial on YouTube: the whole workflow, from modeling the sheet to fitting a model's UVs onto it
01

Introduction

What is a trim sheet?

A trim sheet is one texture that holds many reusable surface details: wall panels, metal edges, pipes, bolts, window frames, cables, lights. Instead of painting a unique texture for every wall, door and corridor, you map all of those models onto the same sheet. One texture can dress a whole level. The game stays small and fast, and the art style stays consistent.

A trim sheet holds two kinds of pieces:

  • Strips run across the whole width of the texture and repeat seamlessly left and right. They are made for long things: wall bands, edges, pipes, floor borders.
  • Elements are separate rectangles: a vent, a door, a sign, a control panel.

What Trim Sheet Baker does

Trim Sheet Baker covers the whole trim sheet workflow inside Blender, from the first shape to the textured model:

  1. Model the sheet as ordinary 3D geometry lying flat on the ground, with ordinary Blender materials.
  2. Click Bake Trim Sheet. You get every texture a game engine needs (colour, normal map, ambient occlusion, roughness, metallic, height, emission and more), a ready-made Godot material, channel-packed maps for Unity or Unreal, and a file that records where every strip and element is.
  3. In the UV Editor, select faces of a model and click a trim. The add-on straightens, rotates and fits them onto it.
  4. In the Shader Editor, click Create Material and the model gets a Blender material built from the baked textures.

Changed your mind about a bolt or a groove? Edit the 3D shapes and bake again. Every map updates together, in seconds.

02

Why Trim Sheet Baker

  • One click, complete texture set. Albedo, normal, AO, roughness, metallic and emission by default; height, ORM, curvature, alpha mask, colour ID, channel-packed maps and your own custom maps on request. All of them come from a single render, so they always match each other.
  • From the sheet all the way to the model. Most bakers stop once the textures are written. Trim Sheet Baker also records every trim and gives you a UV tool that fits your models onto them with one click, plus a one-click Blender material.
  • Ready for your engine. Pick Godot, Unity URP, Unity HDRP or Unreal and the add-on sets the normal map style and channel packing that engine expects and tells you which file goes into which material slot. Godot users get a finished .tres material with the parallax depth calculated from the real geometry, and import presets with the right compression for every map.
  • Exact data values. Data maps never pass through Blender's colour management (AgX, Filmic). A roughness of 0.5 in your material is exactly 0.5 in the texture.
  • Seamless by design. With Seamless X/Y, shadows, edges and surface relief continue across the texture border, so strips repeat without visible seams.
  • Rounded edges for free. One slider gives every hard edge a soft highlight in the normal and AO maps, without modelling a single bevel.
  • See before you bake. Live Map Preview shows any map in the viewport while you model.
  • Safe for your scene. The bake renders temporary copies of your objects and materials in the background. Your scene is never changed, and Blender stays usable while it renders.
  • Geometry Nodes and modifiers welcome. Arrays, bevels, booleans and Geometry Nodes are baked exactly as they look in the viewport.
  • Built for real work. Presets, a bake log for troubleshooting, PNG, TGA, TIFF, JPEG or EXR output, and headless baking from the command line for build pipelines.
  • Your textures are yours. Use them in commercial games and asset packs without restrictions.
03

Requirements

  • Blender 4.2 or newer. Tested on Blender 4.2 LTS and 5.1 on Windows. The add-on is pure Python and uses only what ships with Blender, so it is expected to run on macOS and Linux too.
  • Cycles, the render engine included with Blender. A GPU makes large bakes much faster but is not required.
  • The Godot material and import presets are written for Godot 4. The textures themselves work in any engine or texturing tool.
04

Installation and updates

Install

  1. Download trim_sheet_baker-<version>.zip from Gumroad. Do not unzip it.
  2. In Blender open Edit › Preferences › Get Extensions.
  3. Click the ⌄ menu in the top right corner and choose Install from Disk….
  4. Pick the downloaded zip. The add-on is installed and enabled.
  5. In the 3D View press N to open the sidebar and click the Trim Sheet tab.

Update

Install the new zip the same way. It replaces the old version, and your settings stay in your .blend files.

Every hour the add-on checks whether a newer version exists. When it does, an Update Available: x.y.z button appears at the top of every Trim Sheet panel. Hovering it shows what is new; clicking it opens the download page. Nothing is downloaded or installed automatically. See Privacy for what the check sends.

To check right away, click the small globe icon in the header of any Trim Sheet panel (3D View, UV Editor or Shader Editor). A popup tells you that you have the newest version, shows what is new in a newer one with a Download Update button, or says why the check failed. If Blender's Allow Online Access is off, the popup asks you to turn it on and offers a button that opens the setting.

Add-on preferences

Edit › Preferences › Add-ons › Trim Sheet Baker

SettingWhat it does
Check for UpdatesTurns the hourly update check on or off. On by default.
Check NowChecks right away. The line below shows the result of the last check.

If Blender's Allow Online Access (Preferences › System) is off, the add-on never goes online, and the preferences show a button that leads to that setting.

Uninstall

Edit › Preferences › Add-ons, find Trim Sheet Baker, click the ⌄ menu next to it and choose Uninstall.

05

First trim sheet in five minutes

  1. Save your .blend file. The textures go to a textures folder next to it by default.
  2. Create a collection for the sheet, for example TrimSheet.
  3. Model the pieces in that collection: a long box for a wall strip, a cylinder for a pipe, a panel with a few bolts. Lay everything flat on the ground (the XY plane) so that it reads correctly when seen from above. Place the strips across the whole width of the sheet.
  4. Give them materials with an ordinary Principled BSDF: base colour, roughness, metallic. Set an emission colour and strength on lamps or screens.
  5. Open the Trim Sheet tab in the 3D View sidebar (N). The Collection field shows Auto: TrimSheet, so the add-on already found your sheet.
  6. Optional: click Live Map Preview and pick Normal or AO to see the result while you keep modelling. Click Exit Live Preview when done.
  7. Click Bake Trim Sheet. A progress bar appears in the status bar at the bottom of the window.
  8. When the bake finishes, click Preview Baked Maps. A plane with the baked textures appears next to your sheet.
A sci-fi trim sheet seen from above in the 3D View, with the Trim Sheet Baker panel in the sidebar
A modelled sheet seen from above, with the Trim Sheet Baker panel in the sidebar.

That is a complete first bake. To use the sheet on a model, continue with UV Editing.

06

Where to find everything

The add-on lives in the Trim Sheet tab of the sidebar (N) in three editors, one for each step of the workflow:

EditorPanelUsed for
3D ViewTrim Sheet Baker with the sub-panels Advanced, Game Engine Export, Guides and Bake LogModeling, previewing and baking the sheet
UV EditorTrim Sheet UV with the sub-panel Active TrimFitting UVs of a model onto the trims
Shader EditorTrim Sheet MaterialCreating a Blender material from the baked textures

Every button and field also explains itself in a tooltip: hover it with the mouse. The globe icon in the header of each of these panels checks for a newer version of the add-on (see Update).

The settings are stored in the scene, so every .blend file (and every scene in it) keeps its own.

07

Modeling: building and baking the sheet

How to prepare the sheet

The add-on photographs your sheet from straight above with an orthographic camera. A few rules follow from that:

  • One collection. Put everything that belongs to the sheet into one collection (nested collections are fine). Choose it in the Collection field, or leave the field empty and the add-on uses the first collection in the scene that contains geometry.
  • Flat on the ground, seen from above. The sheet lies in the XY plane and is baked as seen from the top (+Z). The +Y direction becomes the top of the texture.
  • Height matters. The height of the geometry above the ground becomes the height map, and the shapes create the normal and AO maps. Keep the depth realistic: a few millimetres to a few centimetres for panels and grooves.
  • Size. By default the texture covers the outline of all geometry in the collection as seen from above. The Resolution goes to the longer side, so a sheet twice as wide as tall bakes to, for example, 2048 × 1024 pixels. To bake an exact area, use a frame object.
  • Strips span the whole width. A strip must reach from the left edge of the sheet to the right edge (at least 95 % of the width) to be recognised as a strip.
  • Materials. Use a Principled BSDF connected to the Material Output. Textures, procedural nodes, bump and normal map nodes inside the material are all baked. A material without a Principled BSDF still bakes: a Diffuse or Emission shader gives its colour, everything else gets default values, and the bake log says so. Give every object a material.
  • What counts. Meshes, curves, surfaces, metaballs, text, hair curves and point clouds are baked. Objects disabled for rendering (the camera icon in the Outliner) are left out.
  • Modifiers and Geometry Nodes are baked exactly as they look in the viewport.
  • Name your objects. With the default trim detection, every object becomes one trim named after the object, and you will see these names in the UV Editor. Name them Wall_Band, Pipe_Thin, Vent rather than Cube.012.
  • Details belong to their parent. Screws, rivets or a handle on a door should not become trims of their own. Parent them to the door (Ctrl+P › Object): they are still baked into the textures, but the trim stays one rectangle called "Door". They stay separate objects, so an Array modifier on a screw remains editable.
  • Holes are allowed. Where the sheet has no geometry (a grate, a cut-out sign), the albedo gets transparency automatically.

The Trim Sheet Baker panel

3D View › Sidebar (N) › Trim Sheet. The main panel holds everything a bake needs. The panel title shows the installed version.

ElementWhat it does
Check for Updates (globe icon in the header)Checks right away whether a newer version exists. See Update.
Presets (header icon)Saves the current bake settings as a named preset and loads them again. See Presets.
CollectionThe collection holding the sheet. Empty = automatic; the line below then shows Auto: <name>, or No collection with geometry when there is nothing to bake.
ResolutionPixel size of the longer side of the texture (default 2048). The − and + buttons halve and double it to the nearest power of two.
Seamless XMakes the texture tile left–right: AO, shadows and edges continue across the left and right border. On by default, because strips repeat horizontally.
Seamless YThe same for the top and bottom border. Off by default.
MapsOne checkbox per texture. See The maps.
OutputThe folder the files are written to. Default //textures/, a textures folder next to the .blend file.
NameThe prefix of all file names. Default trim gives trim_albedo.png, trim_normal.png and so on.
Renders on the CPU…Shown when Device is Auto and no GPU is enabled for Cycles. Enable a Cycles GPU Device… opens the preferences where you turn one on.
Bake Trim SheetStarts the bake. Greyed out when there is no collection with geometry or a bake is running.
Preview Baked Maps / Remove Baked PreviewShows or removes a plane with the baked textures. See Preview Baked Maps.
Folder iconOpens the output folder in your file manager.
Live Map Preview / Exit Live PreviewTurns the live viewport preview on or off. See Live Map Preview.
Top View iconFrames the whole sheet from above; a second click returns to your previous view. See Top View.

Below the main panel you find collapsed sections for everything optional: Advanced, Game Engine Export, Guides, Bake Log, and a Reset to Defaults button at the very bottom.

The Trim Sheet Baker panel with Collection, Resolution, Seamless, Maps, Output and Name and the bake buttons
The main panel.

The maps

Tick the maps you want. Options of a map appear under it only when the map is ticked.

MapDefaultWhat you get
AlbedoonThe base colour, without lighting. Gets an alpha channel when the sheet has holes.
NormalonFake surface relief for the game engine.
AOonAmbient occlusion: soft shadows in corners and cracks, as a separate greyscale image.
RoughnessonRoughness as a separate greyscale image.
MetalliconMetallic as a separate greyscale image.
EmissiononGlowing parts (colour × strength). Skipped automatically when no material glows.
HeightoffHeight of the surface, white = high. Used for parallax effects in engines.
ORMoffAO, roughness and metallic packed into the red, green and blue channel of one image.
CurvatureoffA mask that is bright on outer edges and dark in cavities, for worn paint and dirt in texturing tools. Strength sets the contrast, Width the line thickness in pixels. Works on low-poly sheets; looks best with a Bevel Radius.
Alpha MaskoffA separate black-and-white image: white where the sheet has geometry.
Color IDoffA flat, distinct colour per region, for quick selections in texturing tools. From chooses one colour per Material or per Object. The colours are listed in the trims JSON.

The trims JSON is written by default as well; it is switched in Advanced › Output.

Live Map Preview

Click Live Map Preview and pick a map: Albedo, Normal, AO, Roughness, Metallic, Height or Emission. Every 3D View switches to a rendered view that shows that map on your sheet, and it keeps updating while you model, edit materials or move objects. You see the effect of every change before baking.

Animation: Live Map Preview switching between the maps of a sci-fi trim sheet in the viewport
Live Map Preview: the list under the button switches the map, and the Top View button frames the sheet as the bake sees it.
  • The data maps show exactly the values the bake will write.
  • AO is shown with Cycles in the viewport and can be noisy for a moment; the final bake is clean.
  • The Bevel Radius rounding is not shown in the preview, only in the bake.
  • Click Exit Live Preview to return. Your viewport shading, render engine and materials are restored exactly as they were.
  • The preview ends by itself before the file is saved and when a bake starts, so nothing of it can end up in your file or textures.

Top View

The button with the view icon next to Live Map Preview looks at the whole sheet straight from above in orthographic view, with the top of the texture at the top of the screen, exactly as the bake sees it.

While you only pan and zoom, the button shows a "back" arrow: click it again to return to the view you had before. Once you rotate the view or switch to perspective, the button becomes Top View again.

Baking

Click Bake Trim Sheet.

Blender's status bar during a bake: Trim Sheet: baking 2048x2048 on CPU, a progress bar and a cancel button
The status bar during a bake, with the progress bar and the cancel button.
  • The bake runs in the background. A progress bar with a cancel button (×) appears in Blender's status bar, and you can keep working.
  • The bake renders temporary copies of your objects and materials in a separate scene. Your own objects, materials and render settings are never changed. Afterwards everything temporary is removed. If Blender is closed in the middle of a bake and the file was saved meanwhile, the leftovers are cleaned up the next time the file is opened.
  • When it finishes, a message in the status bar lists the written files, the bake time and the height range. Warnings (for example a material without a Principled BSDF) are shown as well and written to the Bake Log.
  • The output folder is created if it does not exist. Existing files with the same names are overwritten.

How long does it take? Almost all of the time is the Cycles render. A 2048 px sheet with the default settings takes about 13 seconds on a 16-core CPU, and much less on a dedicated GPU.

Preview Baked Maps

After a bake, click Preview Baked Maps. A plane appears to the right of the sheet, at its base, with a material built from the baked textures and set up the way a game engine reads them: AO multiplied into the colour, roughness and metallic from the ORM or the separate maps, the normal map, emission with its baked strength, and transparency where the sheet has holes. Switch the viewport to Material Preview or Rendered to see it.

The modelled sheet and, to its right, a flat plane with the baked textures
The modelled sheet (left) and the flat preview plane with the baked textures (right).

While the plane is shown, every new bake refreshes it automatically. Click Remove Baked Preview to take it away.

It is the same material that the Shading panel creates, so what you see on the plane is what your models will look like.

Advanced

Open Advanced for settings a basic bake does not need. It has four sub-sections.

Frame

By default the baked area is the outline of the collection seen from above. To bake an exact area instead, for example a sheet of precisely 2 × 2 m with some empty space at the edges:

ElementWhat it does
FrameAuto: the outline of the collection. Object: the outline of a frame object seen from above.
Frame ObjectThe object that defines the area (shown when Frame is Object). It is never rendered.
Add Frame PlaneCreates a wireframe plane named TrimFrame matching the current outline of the collection and sets it as the Frame Object. Scale or move it to adjust the area.

Render

ElementDefaultWhat it does
Samples16Cycles samples: smoother edges and less noise in AO with more samples, faster bakes with fewer. 8 is enough for quick tests.
DeviceAutoAuto uses the GPU when one is enabled in Preferences › System › Cycles Render Devices, otherwise the CPU. CPU or GPU force one.
Bevel Radius0Rounds every hard edge in the normal and AO maps without modelling bevels. A few millimetres (0.002–0.005 m) give a nice highlight. 0 = off. Rounds edges within one object, not between two separate objects.
Samples (bevel)8Bevel quality. More = smoother rounding.
AO › Auto DistanceonAO reaches as far as the height of the sheet. Turn it off to set the Distance yourself: shorter gives tighter contact shadows.
AO › Samples4AO rays per render sample. 4 is already smooth at 16 samples and twice as fast as 16.
Height › Auto RangeonThe lowest point of the sheet becomes black and the highest white. Turn it off and set Min and Max to use a fixed range, for example to keep several sheets consistent.
The Advanced section with the Frame, Render and Output sub-sections open
Advanced with Frame, Render and Output.

Output

ElementDefaultWhat it does
File FormatPNGThe image format of the textures. See the table below.
Quality90 %JPEG quality (shown for JPEG only).
Albedo AlphaAutoTransparency in the albedo. Auto: only when part of the sheet has no geometry. Always or Never.
Normal Depth8 bit8 or 16 bit normal map (PNG and TIFF only). 16 bit avoids banding on very smooth curves.
Height Depth16 bit16 or 8 bit height map (PNG and TIFF only). Keep 16 bit for parallax.
Trims › JSONonWrites the trims JSON that the UV Editor and Shader Editor panels use.
TrimsOne per ObjectHow trims are found. See below.
Keep Raw EXRoffKeeps the multi-layer EXR with all raw render passes, for debugging.

File formats

FormatDepthAlphaGood for
PNG8 or 16 bityesEverything. Lossless and read by every engine and tool.
Targa8 bityesUnreal and older pipelines that expect .tga.
TIFF8 or 16 bityesSubstance, Photoshop, Unreal, Unity. Godot cannot import it.
JPEG8 bitnoSmall files when some loss is acceptable. Compression artefacts show most in normal maps. Packed maps that need alpha are written as PNG instead, and the albedo loses its transparency.
OpenEXRhalf float, height in full floatyesFilm and VFX pipelines and exact height values. Colour is stored linear.

Trim detection

  • One per Object (default): every object of the collection becomes one trim named after the object. It is a strip when it spans at least 95 % of the sheet width, an element otherwise. Objects parented to another object of the sheet join their parent's trim. Children of an Empty keep their own trims.
  • Strips & Elements: full-width objects become strips; the area between strips is split into elements by the pixels each object actually covers. Overlapping objects are merged, and a trim is named after the material that covers most of it. Useful when your sheet is one big mesh or you do not want to care about object structure.

You can always rename, add or remove trims later in the UV Editor.

Custom Maps

Turn any shader node group into an extra texture, for example a mask of all metal parts.

ElementWhat it does
ListYour custom maps. The checkbox enables or disables a map; double-click the name to rename it.
+Adds a map together with a template node group with Base Color, Roughness, Metallic, Normal inputs and a Color output.
−Removes the selected map from the list.
SuffixThe end of the file name: suffix metalmask gives trim_metalmask.png.
Node GroupThe shader node group to bake. It needs a Color or Float output.
Color SpaceData writes the values as they are (masks). sRGB writes a colour image.
The Custom Maps list with one map called metalmask
A custom map with the suffix metalmask.

Inputs of the group named like Principled BSDF inputs (Base Color, Roughness, Metallic, Normal, Emission Color, …) automatically receive the values of each material on the sheet. Example of a metal mask: Metallic → Math: Greater Than 0.5 → output.

To edit the group, add it to any material in the Shader Editor (Shift+A › Group), select it and press Tab.

Game Engine Export

Open Game Engine Export and choose your engine. The header shows the current choice.

ElementWhat it does
EngineNone, Godot, Unity URP, Unity HDRP, Unreal (experimental). Choosing one sets the normal map style and the maps that engine needs. You can still change anything by hand afterwards.
Normal YOpenGL (Y+) for Godot, Blender and Unity; DirectX (Y−) for Unreal and the Substance default.
Material slots (box)For Unity and Unreal: which texture goes into which slot of the engine's material.

What each engine sets up:

EngineNormal mapMaps it sets up
None (default)unchangedNothing; choose the maps yourself.
GodotOpenGLORM on, a finished .tres material and import presets.
Unity URPOpenGLA packed _metallic_smoothness map and a separate _ao for the Occlusion slot.
Unity HDRPOpenGLA packed _mask (HDRP Mask Map: metallic, AO, smoothness).
UnrealDirectXORM, which Unreal reads in the same channel order (AO, roughness, metallic). Experimental: not tested in Unreal yet.

Maps you do not need can simply be unticked in the main panel.

Godot settings

Shown when the engine is Godot.

ElementDefaultWhat it does
Material (.tres)onWrites an ORMMaterial3D file <name>.tres next to the textures.
res:// Folderres://textures/The folder inside your Godot project where you will copy the textures. The material references them by this path.
Import PresetsonWrites .import files with suitable compression for every map. Existing .import files are never overwritten.
Ambient OcclusiononUses the AO from the ORM red channel in the material.
ParallaxonUses the height map for parallax depth (tick Height in the maps). The depth is calculated from the real height range and size of the sheet.
EmissiononUses the emission map. Emission brighter than 1 is kept: the texture stores the colour and the material gets the energy.
TransparencyAlpha ScissorUsed when the albedo has holes. Alpha Scissor: sharp cut-out, fast, correct shadows. Alpha Hash: dithered, softer edges. Alpha Blend: real transparency, no shadows.
Game Engine Export with Godot chosen, showing the material and import options
Game Engine Export for Godot.

Packed Maps

Build your own texture by choosing what goes into each channel. Open Game Engine Export › Packed Maps.

ElementWhat it does
ListYour packed maps with their channel layout, for example Meta 0 0 Smoo. A chain icon marks maps added by the engine choice: they are replaced when you choose another engine. Maps you add yourself are never touched.
+Adds a map from a preset: Unity HDRP Mask Map, Unity URP / Built-in Metallic, Roughness / Metallic / AO or Custom.
−Removes the selected map.
SuffixThe end of the file name.
R, G, B, AWhat each channel holds: Ambient Occlusion, Roughness, Smoothness (1 − roughness, as Unity wants it), Metallic, Height, Curvature, Alpha, Emission (its brightness), Black, White, or None (the channel is left out; for alpha).
Game Engine Export with Unity URP chosen: the material slots box and the packed metallic smoothness map
Unity URP: material slots and the packed map it adds.

Guides

Visual helpers while you model. Tick the checkbox in the section header to show them.

  • An outline of the sheet, a box showing the height range, and an arrow pointing to the top of the texture.
  • Reference: an image placed under the sheet, such as a concept, a photo or an old texture. Pick a loaded image in the field, or click the folder button to load one from disk (this also turns the guides on). Opacity sets how strongly it shows.
  • Refresh Guides fits the guides to the sheet again after you changed its size.
The sheet in perspective with the guides: an outline box for the height range and an arrow at the top edge
Guides: the height-range box around the sheet and the arrow pointing to the top of the texture.

Guides are never rendered and cannot be selected by accident.

Bake Log

Every bake writes a log: the Blender and add-on version, the settings, the render device, timings, the files written, warnings, and the full error message if something fails. The icon in the header shows how the last bake ended (finished, failed or cancelled).

ElementWhat it does
CopyCopies the whole log to the clipboard.
Text EditorOpens the log in Blender's Text Editor (in a new window if none is open).
FileOpens the saved <name>_bake.log from the output folder.

The section shows the last 14 lines. If you report a problem, attach the log: it usually contains everything needed to reproduce it.

The Bake Log section with Copy, Text Editor and File buttons and the last lines of the log
The log of a finished bake.

Presets and reset

Presets. Click the preset icon in the header of the Trim Sheet Baker panel. Type a name and click + to save the current bake settings, for example "Quick test 512" or "Final 4K Godot"; click a preset to load it, − to delete it. Presets contain the bake settings only: the collection, frame object, paths, reference image and your custom maps are not stored, so presets work across projects.

Reset to Defaults. The button at the bottom of the panel returns all bake settings to their defaults after a confirmation and removes the packed maps added for an engine. The collection, frame object, paths, reference image and your own custom and packed maps stay.

08

UV Editing: putting the sheet on your models

UV Editor › Sidebar (N) › Trim Sheet › Trim Sheet UV

The UV tool uses the trims JSON written by the bake. It works in any .blend file: your sheet can live in one file and your models in another.

The workflow

  1. Open the model you want to texture, enter Edit Mode (Tab) and open a UV Editor (the UV Editing workspace is ideal).
  2. Load the trims. Click Load <name>_trims.json. The add-on offers the JSON baked from the current file, or, in a file that was never baked, the last JSON baked or used in any file. The line below shows which one (Bake of this file or Last used with its folder). To load a different JSON, click the folder button. The sheet texture appears in the UV Editor, zoomed to fit, with the outline of every trim drawn over it.
  3. Select faces of the model and unwrap them as usual (U).
  4. Click the UV icon next to a trim in the list. The faces are straightened, rotated if needed and fitted onto that trim.

Shortcut: Shift+click or Ctrl+click the UV icon (or Fit Selected to Trim) to skip step 3. The selected faces are unwrapped first (Angle Based, respecting your seams) and then fitted. A mesh without a UV map gets one.

Animation: faces of a corridor model are selected and fitted onto trims of the sheet with one click each in the UV Editor
Select faces, click a trim: the faces land on it and the corridor in the 3D View updates.

The Trim Sheet UV panel

ElementWhat it does
Load <name>_trims.jsonLoads the offered JSON in one click (shown while nothing is loaded).
Folder button / JSON nameLoads any trims JSON from disk. Once loaded, the button shows the file name.
Reload (↻)Reads the JSON and the texture again, for example after a new bake. Keeps your zoom. Unsaved edits of the trim list are lost.
SaveWrites the trim list (names, added or edited rectangles) back into the JSON.
Show Sheet TextureShows the baked albedo in the UV Editor again, for example after you looked at another image.
Trim listAll trims. The icon tells the kind (strip or element). Double-click a name to rename it. The UV icon fits the selection onto that trim.
+Adds a trim from the bounds of the selected UVs. See Editing trims.
−Removes the selected trim from the list.
Fit Selected to TrimFits the selection onto the trim selected in the list. Available in Edit Mode once trims are loaded.
PaddingGap in texture pixels kept from the trim's border (default 4). It stops neighbouring trims from bleeding in when the texture is seen from a distance. Strips are padded at the top and bottom only.
IslandsEach Island: every selected UV island is fitted on its own. As Group: all selected islands are fitted together as one block, keeping their layout.
Strip FitHow long an island on a strip becomes. See Strips and elements.
Element FitHow an island fills an element.
StraightenRotates slanted islands to their tightest bounding box first. On by default.
Show TrimsDraws the trim outlines in the UV Editor.
The Trim Sheet UV panel with the trim list, Fit Selected to Trim, the fit options and the Active Trim sub-panel
Trim Sheet UV with the Active Trim sub-panel open.

The UV Editor overlay shows all trims with their names. The selected trim is highlighted, its padding is drawn as a thin blue frame, and a strip also shows its repeats to the left and right of the texture.

Strips and elements

Strips repeat horizontally. The island always takes the full height of the strip (minus the padding) and keeps its texel density. Strip Fit decides its length:

  • Repeat (default): keeps the island's proportions. A long wall runs past the right edge of the texture and the strip repeats there seamlessly. No distortion. The status bar tells you how many texture widths long the island became.
  • Whole Repeats: rounds the length to a whole number of texture widths, so both ends of the island meet the seam of the texture. The pattern is stretched or squeezed by at most half a width. Good for closed loops such as a band around a pillar.
  • Fit Width: squeezes the island into one texture width. Long islands get distorted.

Elements are separate rectangles. Element Fit decides how the island fills them:

  • Keep Aspect (default): scales uniformly to fit inside the element, centred.
  • Stretch: scales width and height independently to fill the element completely.

Only the setting that applies to the selected trim is active in the panel.

Adjust after fitting

Right after a fit, open Blender's Adjust Last Operation panel (bottom left of the editor, or F9) to change the result without fitting again:

OptionWhat it does
TrimWhich trim the selection was fitted to (its number in the list, counted from 0).
Unwrap FirstUnwraps the faces before fitting (the same as Shift/Ctrl+click).
RotationAuto turns the island by 90° when its long side does not match the trim (on a strip, the long side always runs along it). 0°, 90°, 180°, 270° force a rotation.
Flip U / Flip VMirrors the island horizontally or vertically.
The Fit to Trim panel with Trim, Unwrap First, Rotation, Flip U and Flip V
Adjust Last Operation after a fit.

Selection rules

  • The tool works on all meshes in Edit Mode at once (multi-object editing).
  • With UV Sync Selection off, it uses the faces selected in the UV Editor; with it on, the faces selected in the 3D View.
  • An island is a group of faces connected by shared UVs. Mark seams to split a model into the pieces you want to place on different trims.

Editing trims

Open the Active Trim sub-panel (collapsed by default) to see and change the selected trim:

ElementWhat it does
KindStrip or Element.
Tile UThe trim repeats horizontally: only its height is fitted and the island may run on in U. Normally on for strips.
U Min, U Max, V Min, V MaxThe trim rectangle in UV coordinates (0–1).
SizeThe size of the trim in texture pixels.

Add your own trim. Select faces whose UVs outline the area you want (for example a part of an element), click + and set the Name and Kind in the Adjust Last Operation panel. The rectangle snaps to texture pixels; a strip spans the full width.

Changes to the list live in the .blend file until you click Save, which writes them into the JSON so that other files and the next load see them. Note that a new bake rewrites the JSON with freshly detected trims.

09

Shading: a Blender material from the baked textures

Shader Editor › Sidebar (N) › Trim Sheet › Trim Sheet Material

Give a model a Blender material made from the baked textures, so it renders in Blender the way it will look in the game.

Animation: Create Material in the Shader Editor builds the trim sheet material on a cube
One click on Create Material: the nodes are built and the object gets the trim sheet material.

The Trim Sheet Material panel

ElementWhat it does
Trims JSON (file field)The trims JSON of the sheet. Leave it empty and the add-on uses the JSON baked from the current file, or, in a file that was never baked, the last JSON baked or used in any file. The line below shows which one was found, Choose a trims JSON or bake first when there is none, or File not found when the chosen file is missing.
Create MaterialCreates the material and puts it into the active material slot of the active object (replacing the material in that slot). An object without slots gets one.
No active object…Without an active object the material is kept with a fake user, so it is saved with the file and you can assign it later.

Each click creates a new material named after the sheet (trim, trim.001, …).

The Trim Sheet Material panel with an empty JSON field, the line Bake of this file: corridor_trims.json and the Create Material button
Trim Sheet Material.

What the material contains

The material reads the textures listed in the JSON from the folder the JSON is in:

  • Base colour from the albedo, with AO multiplied in so that cavities read like in the engine.
  • Roughness and metallic from the ORM, or from the separate maps when there is no ORM.
  • Normal map. A DirectX normal map is flipped back automatically, because Blender expects OpenGL.
  • Emission with the baked strength.
  • Transparency when the albedo has holes.
  • The height map is added as an image node but left unconnected, because the normal map already holds its detail. Connect it to a Displacement node if you need real displacement.

The textures are referenced with relative paths when possible, so the file can move together with the textures. Preview Baked Maps uses exactly the same setup.

10

Using the textures in a game engine

Godot 4

  1. Choose Engine › Godot in Game Engine Export, tick Height if you want parallax, and set res:// Folder to the folder you will use in your Godot project.
  2. Bake.
  3. Copy the whole output folder content (textures, .tres, .import files) into that folder of your Godot project.
  4. Assign <name>.tres to your meshes. Normal map, ORM, parallax, emission and transparency are already set up, and the import presets give every texture suitable compression.

Unity URP

Choose Engine › Unity URP, bake, and use the files as listed in the Material slots box: Base Map ← _albedo, Metallic Map ← _metallic_smoothness, Normal Map ← _normal, Height Map ← _height, Occlusion ← _ao, Emission ← _emission. In Unity set the normal map's Texture Type to Normal map.

Unity HDRP

Choose Engine › Unity HDRP: Base Map ← _albedo, Mask Map ← _mask, Normal Map ← _normal, Height Map ← _height, Emissive ← _emission.

Unreal (experimental)

Choose Engine › Unreal: Base Color ← _albedo, AO / Roughness / Metallic ← _orm (red, green, blue), Normal ← _normal, Emissive Color ← _emission. In Unreal, uncheck sRGB on the ORM texture.

Other engines and tools

All textures are standard images. Data maps (normal, AO, roughness, metallic, ORM, height, masks) are linear and should be imported as non-colour / linear data; albedo and emission are sRGB.

11

Reference: maps and output files

The maps in plain words

MapWhat it describesMeaning
AlbedoBase colourThe paint, without lighting or shadows.
NormalSurface directionFake relief: grooves, bevels and bolts catch the light as if they were real geometry.
AOAmbient occlusionSoft darkening in corners and cracks where light hardly reaches.
RoughnessShininessBlack is mirror-like, white is matte.
MetallicMetal or notWhite is metal, black is not.
ORMOcclusion, Roughness, MetallicThe three maps above packed into one image's red, green and blue channels.
HeightDepthWhite is high, black is low. Engines use it for parallax.
EmissionLightParts that glow, such as lamps and screens.
CurvatureEdges and cavities50 % grey is flat, brighter is an outer edge, darker a cavity.
Alpha MaskCoverageWhite where the sheet has geometry.
Color IDRegionsA flat colour per material or object.

Files of one bake

The table shows PNG, the default; with another File Format the textures get its extension.

FileContents
<name>_albedo.pngBase colour; with an alpha channel when the sheet has holes. sRGB, 8 bit.
<name>_normal.pngTangent-space normal map, OpenGL or DirectX, 8 or 16 bit.
<name>_ao.png, _roughness.png, _metallic.pngSeparate greyscale maps, linear, 8 bit.
<name>_orm.pngR = AO, G = roughness, B = metallic, linear, 8 bit.
<name>_height.pngHeight, white = high, 16 or 8 bit.
<name>_emission.pngEmission colour; written only when something glows. sRGB, 8 bit.
<name>_curvature.pngEdge and cavity mask, linear, 8 bit.
<name>_alpha.pngCoverage mask, 8 bit.
<name>_colorid.pngColour ID, sRGB, 8 bit.
<name>_<suffix>.pngPacked maps and custom maps.
<name>.tresGodot 4 material (Godot only).
*.png.importGodot import presets (Godot only).
<name>_trims.jsonSheet size, height range, the list of textures, emission energy, colour IDs and every trim as a UV rectangle.
<name>_bake.logThe log of the bake.
<name>_raw.exrRaw render passes (only with Keep Raw EXR).
12

Tips for good results

  • Plan the texel density. A 2 m wide sheet at 2048 px gives about 10 px per centimetre. Model the details at their real size, and the UV tool keeps that density on strips automatically.
  • Leave gaps between trims. A few pixels of space between pieces, together with the UV Padding, prevents colours from bleeding into each other in distant mipmaps.
  • Use Bevel Radius. A small radius (2–5 mm) makes edges catch the light and makes curvature maps much more useful, with no extra geometry.
  • Test small, bake big. Bake at 512 or 1024 px with 8 samples while you iterate (save it as a preset), and at full resolution for the final textures.
  • Speed. A dedicated GPU is the biggest speed-up: enable it in Preferences › System › Cycles Render Devices. On slow machines lower Samples to 8 first. Integrated GPUs can be slower than the CPU; there, set Device to CPU. Seamless copies do not make the bake slower.
  • Keep Seamless X on for sheets with strips, so the left and right ends of every strip match.
  • Re-bake freely. Every bake overwrites the textures, and Reload in the UV Editor picks up the new texture and trims while your models keep their UVs, as long as the trims did not move.

Command line

The bake also runs without a window, for automated builds. It then simply waits until the render is done:

blender -b my_sheet.blend --python-expr "import bpy; bpy.ops.trimsheet.bake()"
13

Troubleshooting

Problem or messageSolution
Bake Trim Sheet is greyed outThere is no collection with renderable geometry, or a bake is already running. Check the line under Collection.
Save the .blend file first or use an absolute output folderThe default output //textures/ is relative to the .blend file. Save the file, or set Output to an absolute folder.
Nothing to bake, enable at least one mapTick at least one map, or the trims JSON.
Material '…' has no Principled BSDF, using defaultsUse a Principled BSDF in that material, or accept default roughness and metallic for it.
Geometry covers only …% of the sheetPart of the area has no geometry and was filled with default values. Fine for sheets with holes; otherwise check the frame or move the pieces closer together.
Height max must be greater than height minFix the manual range in Advanced › Render › Height, or turn Auto Range back on.
Custom map '…' skippedIts node group is missing or has no Color or Float output.
Rendered on the CPU: No Cycles GPU device enabledEnable a GPU in Preferences › System › Cycles Render Devices.
Godot cannot import TIFF texturesChoose another File Format in Advanced › Output.
Maps look upside down or rotatedThe texture top is +Y as seen from above. Use the Top View button to see the sheet the way the bake sees it.
A strip is detected as an elementIt must span at least 95 % of the sheet width. Extend it to both edges, or change the trim's Kind in the UV Editor and Save.
Screws or bolts became their own trimsParent them to the object they sit on (Ctrl+P › Object) and bake again.
The normal map looks inverted in the engineSwitch Normal Y between OpenGL and DirectX, or choose your engine.
Preview Baked Maps: Bake the maps firstNo baked textures were found in the output folder for the current Output and Name. Bake, or correct those fields.
UV tool: Select faces of an unwrapped mesh firstSelect faces in Edit Mode, and unwrap them (or Shift+click the trim to unwrap and fit at once).
UV tool: Load a trims JSON and pick a trim firstLoad the trims, then select a trim in the list.
UV tool: Padding is larger than the trimLower the Padding for small trims.
The island went past the texture edgeThat is how strips repeat. Choose Strip Fit › Whole Repeats or Fit Width if you want it inside one width.
Load in the UV Editor offers the wrong JSONClick the folder button and pick the right one.
Create Material: missing texturesSome textures listed in the JSON are not in its folder. Bake again or copy them there.

Still stuck? Open Bake Log, click Copy, and send the log with a short description through the contact form.

14

Privacy, support and license

Privacy

  • The add-on only works with your local files.
  • Every hour it downloads a small file from donlampito.com that holds the number of the newest version. The request carries only the add-on and Blender version, nothing about you or your files.
  • No request is made while Blender's Allow Online Access is off or Check for Updates is turned off in the add-on preferences.

Support

Write through the contact form. When reporting a problem, please attach the bake log (Bake Log › Copy) and say which Blender version and operating system you use.

License

Trim Sheet Baker is free software under the GNU General Public License v3.0 or later. The license covers the add-on's code, not the textures you create with it: your textures are entirely yours, including for commercial games and asset packs.