Skip to content

GLB LOD generator

Create three simpler versions of a static GLB for viewing at different distances. Files stay in this browser.

Target (%)

Viewport

Open a GLB to view its mesh.

More browser GLB tools

Browser GLB Workflow

How to generate GLB LOD levels for game engines

Build three progressive detail levels (LOD1–LOD3) from one static GLB and package them into a ready-to-import ZIP archive.

  1. 01

    Open your base GLB

    Load any static GLB up to 30 MiB and 250,000 triangles locally in your browser. All decimation and ZIP packaging happen client-side.

  2. 02

    Configure LOD1–LOD3 ratios

    Set custom keep-percentages for LOD1, LOD2, and LOD3 (5%–99%) and generate all three levels directly from LOD0.

  3. 03

    Verify & download ZIP

    Compare each LOD against LOD0 in the 3D viewport, verify ready statuses in the table, and export individual GLBs or a full ZIP.

Distance Detail Strategy

Tune LOD1, LOD2, and LOD3 for smooth transitions

Progressive LOD chains cut vertex shader load on distant props without visible popping.

LOD1 (mid-range ~50%)

Halves triangle count for medium camera distances while preserving silhouette and key bevels.

LOD2 (far ~25%)

Aggressively simplifies secondary details for background props and distant foliage.

LOD3 (horizon ~10%)

Keeps only the core silhouette for far-distance rendering and dense open-world scenes.

Validated ZIP manifest

Exports only verified, non-duplicate levels alongside the original LOD0 GLB and a structured manifest.json.

Configuring LOD switching distances in Godot or Unity

After downloading the LOD ZIP, import the GLB levels into your engine's LODGroup or VisibilityRange / HLOD system and tune screen-size thresholds per prop.

Technical Specifications & Guardrails

File limits, runtime guarantees & scope

Supported specifications & hard limits

Input format
Uncompressed static .glb (minimum 5 triangles)
Maximum file size
30 MiB · up to 250,000 triangles / vertices
Default LOD chain
LOD0 (100%), LOD1 (50%), LOD2 (25%), LOD3 (10%)
Custom ratio range
Three strictly descending whole percentages (5%–99%)
ZIP export contents
LOD0.glb + every ready LOD*.glb + manifest.json
Execution & privacy
100% local Web Worker (meshoptimizer + fflate) · Free

What LOD Generator does NOT do

  • Does not auto-author engine-specific switch distances inside the GLB—glTF 2.0 has no universal cross-engine screen-size threshold, so you set VisibilityRange (Godot) or LODGroup (Unity) on import.
  • Does not include duplicate, higher-count, or over-budget levels in the default ZIP; levels that hit shape limits are clearly flagged in the status table and manifest.json.
  • Does not cascade decimation (LOD2 is simplified from original LOD0, not from LOD1) to avoid compounding silhouette drift.
  • Does not process rigged/animated characters, morph targets, or pre-compressed Draco/Meshopt GLBs.
Measured LOD Chain Example

River stone LOD0–LOD3 output & validation statuses

Real output from running the default 50% / 25% / 10% preset on the bundled 500-triangle River stone sample.

LOD levelTarget ratioTarget trisActual trisFile sizeZIP status
LOD0 (original)100%50050036.1 KiB (36,944 B)Included (LOD0.glb)
LOD1 (mid-range)50%2502505.5 KiB (5,664 B)Ready · Included (LOD1.glb)
LOD2 (far)25%1251243.3 KiB (3,392 B)Ready · Included (LOD2.glb)
LOD3 (horizon)10%501002.9 KiB (2,960 B)Over budget · Excluded from default ZIP

In a scene with 100 scattered rocks (20 near at LOD0 + 80 distant at LOD2), visible rock triangles drop from 50,000 to 19,920—a 60% geometry savings before frustum culling.

Engine Compatibility

Importing LOD ZIP packages into game engines

Every ZIP ships standard uncompressed GLB files plus a machine-readable manifest.json listing triangle counts and byte sizes.

Godot 4.x

Import GLBs + VisibilityRange

Place LOD0–LOD2 MeshInstance3D nodes under the same parent and assign non-overlapping visibility_range_begin/end meters (or use Godot automatic mesh LODs on LOD0).

Unity

LODGroup component

Import each LOD*.glb with glTFast and assign LOD0/LOD1/LOD2 renderers to a standard LODGroup with screen-height transition percentages (e.g. 50%, 20%, 5%).

Unreal Engine 5

Static Mesh LOD slots

Import LOD0.glb as your base Static Mesh, then import LOD1.glb and LOD2.glb directly into LOD 1 and LOD 2 slots in the Static Mesh Editor.

Three.js / WebGL

THREE.LOD object

Load each GLB with GLTFLoader and register them via lod.addLevel(mesh, distance) using the triangle and size telemetry in manifest.json.

Preguntas frecuentes

Does LOD generation upload my 3D assets?

No. Every LOD mesh is simplified and zipped locally in your browser Web Worker with zero server uploads.

What are the file size and polygon limits for the LOD generator?

It accepts uncompressed static glTF 2.0 binary (.glb) models up to 30 MiB with 5 to 250,000 triangles. Rigged, animated, morph-target, or pre-compressed GLBs are not supported.

What is inside the downloaded LOD ZIP archive?

The ZIP includes the original LOD0.glb, every LOD level that passed validation (LOD1.glb–LOD3.glb), and a manifest.json summarizing target ratios, actual triangle counts, byte sizes, and statuses.

Does LOD2 simplify LOD1 or the original LOD0 mesh?

Every LOD level (LOD1, LOD2, and LOD3) is simplified directly from the original LOD0 source mesh. Generating from LOD0 avoids cascading decimation artifacts across levels.

Why might one LOD level show as over budget or duplicate?

If border locking prevents a level from reaching its target (for example, LOD3 at 10% on a small prop) or produces the same triangle count as the previous level, it is flagged and omitted from the default ZIP so you do not ship redundant meshes.

How should I set LOD switch distances in Godot 4 or Unity?

A practical starting baseline for medium outdoor props is LOD0 from 0–15 m, LOD1 from 15–35 m, and LOD2 beyond 35 m in Godot VisibilityRange (or roughly 50% / 20% / 5% screen height in Unity LODGroup), then walk the camera through the transition to verify zero silhouette pop.

Can I download a single LOD level instead of the ZIP?

Yes. Click any ready LOD row in the results table to preview it in 3D and download that individual .glb file.

What models work with the LOD generator?

Static GLB meshes with at least 5 triangles and up to 30 MiB work directly in the browser.