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:
- Model the sheet as ordinary 3D geometry lying flat on the ground, with ordinary Blender materials.
- 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.
- In the UV Editor, select faces of a model and click a trim. The add-on straightens, rotates and fits them onto it.
- 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.
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
.tresmaterial 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.
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.
Installation and updates
Install
- Download
trim_sheet_baker-<version>.zipfrom Gumroad. Do not unzip it. - In Blender open Edit › Preferences › Get Extensions.
- Click the ⌄ menu in the top right corner and choose Install from Disk….
- Pick the downloaded zip. The add-on is installed and enabled.
- 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
| Setting | What it does |
|---|---|
| Check for Updates | Turns the hourly update check on or off. On by default. |
| Check Now | Checks 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.
First trim sheet in five minutes
- Save your
.blendfile. The textures go to atexturesfolder next to it by default. - Create a collection for the sheet, for example
TrimSheet. - 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.
- Give them materials with an ordinary Principled BSDF: base colour, roughness, metallic. Set an emission colour and strength on lamps or screens.
- 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.
- Optional: click Live Map Preview and pick Normal or AO to see the result while you keep modelling. Click Exit Live Preview when done.
- Click Bake Trim Sheet. A progress bar appears in the status bar at the bottom of the window.
- When the bake finishes, click Preview Baked Maps. A plane with the baked textures appears next to your sheet.
That is a complete first bake. To use the sheet on a model, continue with UV Editing.
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:
| Editor | Panel | Used for |
|---|---|---|
| 3D View | Trim Sheet Baker with the sub-panels Advanced, Game Engine Export, Guides and Bake Log | Modeling, previewing and baking the sheet |
| UV Editor | Trim Sheet UV with the sub-panel Active Trim | Fitting UVs of a model onto the trims |
| Shader Editor | Trim Sheet Material | Creating 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.
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,Ventrather thanCube.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.
| Element | What 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. |
| Collection | The collection holding the sheet. Empty = automatic; the line below then shows Auto: <name>, or No collection with geometry when there is nothing to bake. |
| Resolution | Pixel size of the longer side of the texture (default 2048). The − and + buttons halve and double it to the nearest power of two. |
| Seamless X | Makes the texture tile left–right: AO, shadows and edges continue across the left and right border. On by default, because strips repeat horizontally. |
| Seamless Y | The same for the top and bottom border. Off by default. |
| Maps | One checkbox per texture. See The maps. |
| Output | The folder the files are written to. Default //textures/, a textures folder next to the .blend file. |
| Name | The 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 Sheet | Starts the bake. Greyed out when there is no collection with geometry or a bake is running. |
| Preview Baked Maps / Remove Baked Preview | Shows or removes a plane with the baked textures. See Preview Baked Maps. |
| Folder icon | Opens the output folder in your file manager. |
| Live Map Preview / Exit Live Preview | Turns the live viewport preview on or off. See Live Map Preview. |
| Top View icon | Frames 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 maps
Tick the maps you want. Options of a map appear under it only when the map is ticked.
| Map | Default | What you get |
|---|---|---|
| Albedo | on | The base colour, without lighting. Gets an alpha channel when the sheet has holes. |
| Normal | on | Fake surface relief for the game engine. |
| AO | on | Ambient occlusion: soft shadows in corners and cracks, as a separate greyscale image. |
| Roughness | on | Roughness as a separate greyscale image. |
| Metallic | on | Metallic as a separate greyscale image. |
| Emission | on | Glowing parts (colour × strength). Skipped automatically when no material glows. |
| Height | off | Height of the surface, white = high. Used for parallax effects in engines. |
| ORM | off | AO, roughness and metallic packed into the red, green and blue channel of one image. |
| Curvature | off | A 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 Mask | off | A separate black-and-white image: white where the sheet has geometry. |
| Color ID | off | A 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.
- 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.
- 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.
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:
| Element | What it does |
|---|---|
| Frame | Auto: the outline of the collection. Object: the outline of a frame object seen from above. |
| Frame Object | The object that defines the area (shown when Frame is Object). It is never rendered. |
| Add Frame Plane | Creates 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
| Element | Default | What it does |
|---|---|---|
| Samples | 16 | Cycles samples: smoother edges and less noise in AO with more samples, faster bakes with fewer. 8 is enough for quick tests. |
| Device | Auto | Auto uses the GPU when one is enabled in Preferences › System › Cycles Render Devices, otherwise the CPU. CPU or GPU force one. |
| Bevel Radius | 0 | Rounds 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) | 8 | Bevel quality. More = smoother rounding. |
| AO › Auto Distance | on | AO reaches as far as the height of the sheet. Turn it off to set the Distance yourself: shorter gives tighter contact shadows. |
| AO › Samples | 4 | AO rays per render sample. 4 is already smooth at 16 samples and twice as fast as 16. |
| Height › Auto Range | on | The 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. |
Output
| Element | Default | What it does |
|---|---|---|
| File Format | PNG | The image format of the textures. See the table below. |
| Quality | 90 % | JPEG quality (shown for JPEG only). |
| Albedo Alpha | Auto | Transparency in the albedo. Auto: only when part of the sheet has no geometry. Always or Never. |
| Normal Depth | 8 bit | 8 or 16 bit normal map (PNG and TIFF only). 16 bit avoids banding on very smooth curves. |
| Height Depth | 16 bit | 16 or 8 bit height map (PNG and TIFF only). Keep 16 bit for parallax. |
| Trims › JSON | on | Writes the trims JSON that the UV Editor and Shader Editor panels use. |
| Trims | One per Object | How trims are found. See below. |
| Keep Raw EXR | off | Keeps the multi-layer EXR with all raw render passes, for debugging. |
File formats
| Format | Depth | Alpha | Good for |
|---|---|---|---|
| PNG | 8 or 16 bit | yes | Everything. Lossless and read by every engine and tool. |
| Targa | 8 bit | yes | Unreal and older pipelines that expect .tga. |
| TIFF | 8 or 16 bit | yes | Substance, Photoshop, Unreal, Unity. Godot cannot import it. |
| JPEG | 8 bit | no | Small 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. |
| OpenEXR | half float, height in full float | yes | Film 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.
| Element | What it does |
|---|---|
| List | Your 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. |
| Suffix | The end of the file name: suffix metalmask gives trim_metalmask.png. |
| Node Group | The shader node group to bake. It needs a Color or Float output. |
| Color Space | Data writes the values as they are (masks). sRGB writes a colour image. |
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.
| Element | What it does |
|---|---|
| Engine | None, 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 Y | OpenGL (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:
| Engine | Normal map | Maps it sets up |
|---|---|---|
| None (default) | unchanged | Nothing; choose the maps yourself. |
| Godot | OpenGL | ORM on, a finished .tres material and import presets. |
| Unity URP | OpenGL | A packed _metallic_smoothness map and a separate _ao for the Occlusion slot. |
| Unity HDRP | OpenGL | A packed _mask (HDRP Mask Map: metallic, AO, smoothness). |
| Unreal | DirectX | ORM, 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.
| Element | Default | What it does |
|---|---|---|
| Material (.tres) | on | Writes an ORMMaterial3D file <name>.tres next to the textures. |
| res:// Folder | res://textures/ | The folder inside your Godot project where you will copy the textures. The material references them by this path. |
| Import Presets | on | Writes .import files with suitable compression for every map. Existing .import files are never overwritten. |
| Ambient Occlusion | on | Uses the AO from the ORM red channel in the material. |
| Parallax | on | Uses 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. |
| Emission | on | Uses the emission map. Emission brighter than 1 is kept: the texture stores the colour and the material gets the energy. |
| Transparency | Alpha Scissor | Used when the albedo has holes. Alpha Scissor: sharp cut-out, fast, correct shadows. Alpha Hash: dithered, softer edges. Alpha Blend: real transparency, no shadows. |
Packed Maps
Build your own texture by choosing what goes into each channel. Open Game Engine Export › Packed Maps.
| Element | What it does |
|---|---|
| List | Your 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. |
| Suffix | The end of the file name. |
| R, G, B, A | What 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). |
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.
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).
| Element | What it does |
|---|---|
| Copy | Copies the whole log to the clipboard. |
| Text Editor | Opens the log in Blender's Text Editor (in a new window if none is open). |
| File | Opens 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.
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.
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
- Open the model you want to texture, enter Edit Mode (Tab) and open a UV Editor (the UV Editing workspace is ideal).
- 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. - Select faces of the model and unwrap them as usual (U).
- 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.
The Trim Sheet UV panel
| Element | What it does |
|---|---|
Load <name>_trims.json | Loads the offered JSON in one click (shown while nothing is loaded). |
| Folder button / JSON name | Loads 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. |
| Save | Writes the trim list (names, added or edited rectangles) back into the JSON. |
| Show Sheet Texture | Shows the baked albedo in the UV Editor again, for example after you looked at another image. |
| Trim list | All 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 Trim | Fits the selection onto the trim selected in the list. Available in Edit Mode once trims are loaded. |
| Padding | Gap 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. |
| Islands | Each 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 Fit | How long an island on a strip becomes. See Strips and elements. |
| Element Fit | How an island fills an element. |
| Straighten | Rotates slanted islands to their tightest bounding box first. On by default. |
| Show Trims | Draws the trim outlines in the UV Editor. |
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:
| Option | What it does |
|---|---|
| Trim | Which trim the selection was fitted to (its number in the list, counted from 0). |
| Unwrap First | Unwraps the faces before fitting (the same as Shift/Ctrl+click). |
| Rotation | Auto 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 V | Mirrors the island horizontally or vertically. |
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:
| Element | What it does |
|---|---|
| Kind | Strip or Element. |
| Tile U | The 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 Max | The trim rectangle in UV coordinates (0–1). |
| Size | The 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.
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.
The Trim Sheet Material panel
| Element | What 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 Material | Creates 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,
…).
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.
Using the textures in a game engine
Godot 4
- 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.
- Bake.
- Copy the whole output folder content (textures,
.tres,.importfiles) into that folder of your Godot project. - Assign
<name>.tresto 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.
Reference: maps and output files
The maps in plain words
| Map | What it describes | Meaning |
|---|---|---|
| Albedo | Base colour | The paint, without lighting or shadows. |
| Normal | Surface direction | Fake relief: grooves, bevels and bolts catch the light as if they were real geometry. |
| AO | Ambient occlusion | Soft darkening in corners and cracks where light hardly reaches. |
| Roughness | Shininess | Black is mirror-like, white is matte. |
| Metallic | Metal or not | White is metal, black is not. |
| ORM | Occlusion, Roughness, Metallic | The three maps above packed into one image's red, green and blue channels. |
| Height | Depth | White is high, black is low. Engines use it for parallax. |
| Emission | Light | Parts that glow, such as lamps and screens. |
| Curvature | Edges and cavities | 50 % grey is flat, brighter is an outer edge, darker a cavity. |
| Alpha Mask | Coverage | White where the sheet has geometry. |
| Color ID | Regions | A 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.
| File | Contents |
|---|---|
<name>_albedo.png | Base colour; with an alpha channel when the sheet has holes. sRGB, 8 bit. |
<name>_normal.png | Tangent-space normal map, OpenGL or DirectX, 8 or 16 bit. |
<name>_ao.png, _roughness.png, _metallic.png | Separate greyscale maps, linear, 8 bit. |
<name>_orm.png | R = AO, G = roughness, B = metallic, linear, 8 bit. |
<name>_height.png | Height, white = high, 16 or 8 bit. |
<name>_emission.png | Emission colour; written only when something glows. sRGB, 8 bit. |
<name>_curvature.png | Edge and cavity mask, linear, 8 bit. |
<name>_alpha.png | Coverage mask, 8 bit. |
<name>_colorid.png | Colour ID, sRGB, 8 bit. |
<name>_<suffix>.png | Packed maps and custom maps. |
<name>.tres | Godot 4 material (Godot only). |
*.png.import | Godot import presets (Godot only). |
<name>_trims.json | Sheet size, height range, the list of textures, emission energy, colour IDs and every trim as a UV rectangle. |
<name>_bake.log | The log of the bake. |
<name>_raw.exr | Raw render passes (only with Keep Raw EXR). |
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()"
Troubleshooting
| Problem or message | Solution |
|---|---|
| Bake Trim Sheet is greyed out | There 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 folder | The 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 map | Tick at least one map, or the trims JSON. |
| Material '…' has no Principled BSDF, using defaults | Use a Principled BSDF in that material, or accept default roughness and metallic for it. |
| Geometry covers only …% of the sheet | Part 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 min | Fix the manual range in Advanced › Render › Height, or turn Auto Range back on. |
| Custom map '…' skipped | Its node group is missing or has no Color or Float output. |
| Rendered on the CPU: No Cycles GPU device enabled | Enable a GPU in Preferences › System › Cycles Render Devices. |
| Godot cannot import TIFF textures | Choose another File Format in Advanced › Output. |
| Maps look upside down or rotated | The 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 element | It 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 trims | Parent them to the object they sit on (Ctrl+P › Object) and bake again. |
| The normal map looks inverted in the engine | Switch Normal Y between OpenGL and DirectX, or choose your engine. |
| Preview Baked Maps: Bake the maps first | No 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 first | Select 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 first | Load the trims, then select a trim in the list. |
| UV tool: Padding is larger than the trim | Lower the Padding for small trims. |
| The island went past the texture edge | That 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 JSON | Click the folder button and pick the right one. |
| Create Material: missing textures | Some 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.
Privacy, support and license
Privacy
- The add-on only works with your local files.
- Every hour it downloads a small file from
donlampito.comthat 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.
