TrenchBroom is a free, GPL-3.0 open-source 3D brush and CSG level editor for Windows, macOS, and Linux. Built originally for Quake, it serves modern Godot (via FuncGodot), Bevy (via bevy_trenchbroom), Unity, and Unreal pipelines for rapid architectural blockouts, retro FPS geometry, and plain-text .map prefab workflows.
Technical Overview
Architecture and Production Workflow
TrenchBroom models 3D architecture through convex polyhedron brushes rather than polygon-by-polygon mesh topology. Level designers slice volumes in perspective view using the 3-point Clipper tool, drag vertices, edges, and faces on configurable power-of-two grids, and align trim sheets interactively with UV lock, shear, and face-aligned projection. Levels serialize to human-readable plain-text Quake or Valve 220 .map files where each brush stores mathematical half-space planes and [ux uy uz offset] texture axes, making multi-branch Git diffs clean and mergeable.
Modern studio pipelines pair TrenchBroom with custom .fgd (Forge Game Data) entity schemas:
- Godot 4 (
FuncGodot/Qodot): Parses Valve 220.mapfiles directly inside the editor, merging brushes by material into optimizedMeshInstance3Dsurfaces, generating convex or trimeshCollisionShape3Dnodes, and mapping.fgdkey-value properties to typed GDScript or C#@exportresources. - Bevy (
bevy_trenchbroom): Spawns ECS entity hierarchies and avian3d/rapier3d colliders directly from TrenchBroom brush and point entities. - Unity, Unreal, and Blender: Exports grouped
.objgeometry with preserved material slots, or compiles classic.bsplevels viaericw-tools(qbsp,vis,light).
Pricing, Licensing, and Commercial Rights
TrenchBroom is 100% free and open source under the GPL-3.0 license across Windows, macOS, and Linux, with zero seat fees, subscriptions, or revenue royalties. Because GPL-3.0 governs the desktop editor's C++ source code rather than data files authored with it, your exported .map and .obj level assets carry zero copyleft obligations. Commercial Steam and console titles ship freely using MIT-licensed runtime importers such as FuncGodot and bevy_trenchbroom.
Strengths and Tradeoffs in Studio Pipelines
| Pipeline Dimension | TrenchBroom Advantage | Limitation / When to Swap |
|---|---|---|
| Greyboxing Speed | Cuts interior rooms, hallways, stairs, and sightlines 3x to 5x faster than DCC polygon modeling | Cannot sculpt organic caves or smooth displacement terrain; pair with Blender or Gaea |
| UV & Trim Workflows | Instant per-face UV scale, rotation, and planar lock without manual UV unwrapping | Concave volumes must be decomposed into multiple convex brushes to prevent geometry errors |
| Engine Integration | Typed .fgd point and brush entities spawn doors, triggers, lights, and enemy spawners | No built-in real-time global illumination; relies on engine GI (SDFGI/Lumen) or ericw-tools baking |
AI Transparency & Steam Disclosure
Standard SoftwareProcedural math, physics, or manual authoring software.
Steamworks guidance: Standard software workflow; Steam AI disclosure does not apply.