Level of detail (LOD) is a technique that replaces a 3D object with simpler representations as its contribution to the final image shrinks, usually because it moves farther from the camera. In Real-time 3D, LOD is one of the most effective ways to reduce geometry, shading and memory cost without a visible loss of quality, and it is used throughout 3D graphics & animation wherever frame time is limited.
The core observation is simple: a model with 50,000 triangles that covers only a few dozen pixels on screen wastes almost all of that geometry. LOD systems spend detail where the viewer can see it and save it everywhere else, which lets games, simulators and virtual production stages render large worlds at a stable frame rate.
How level of detail selection works
An LOD system keeps several versions of an asset, numbered from LOD0 for the full-detail model to higher numbers for progressively simpler ones. Every frame, the engine evaluates a selection metric for each object and draws the version that matches it.
- Distance: the simplest metric, comparing camera distance with fixed thresholds.
- Screen-space size: the projected bounding sphere as a fraction of screen height, which also accounts for field of view and resolution.
- Geometric error: the maximum deviation of a simplified mesh measured in pixels, used by terrain and cluster-based systems.
- Budgets: global limits on triangles or memory that push all objects toward coarser levels when a scene becomes heavy.
Screen-space size is the preferred metric in modern engines, because the same object at the same distance needs more detail when the camera zooms in or the display resolution rises. Distance thresholds alone break down with telephoto lenses and scoped views.
Typical LOD chain for a real-time asset
A discrete LOD chain usually halves the triangle count at each step. The table shows a representative chain for a mid-sized prop; actual numbers depend on the platform, the camera and the art style.
| Level | Triangle count | Screen size threshold | Typical changes |
|---|---|---|---|
| LOD0 | 20,000 | Above 50% of screen height | Full geometry and all materials |
| LOD1 | 10,000 | 25-50% | Small bevels and hidden faces removed |
| LOD2 | 4,000 | 10-25% | Silhouette kept, details baked into normals |
| LOD3 | 1,000 | 3-10% | Merged materials, simplified shader |
| Impostor | 2 | Below 3% | Billboard with a prerendered image |
Beyond triangles, good chains also reduce material count and shader complexity. Fewer materials mean fewer draw calls, and simpler shaders at distance save more fragment cost than geometry reduction alone in many scenes.
Types of LOD techniques
Level of detail exists in several forms, from hand-made model swaps to fully automatic cluster hierarchies. Each one trades authoring effort, runtime cost and visual continuity differently.
| Technique | How it works | Best suited to | Main drawback |
|---|---|---|---|
| Discrete LOD | Swaps between prebuilt meshes | Props, characters, vehicles | Visible popping at switches |
| Continuous LOD | Progressive meshes add or remove edges | Streaming and scanned data | CPU cost, harder GPU batching |
| Hierarchical LOD (HLOD) | Merges groups of objects into proxies | Distant buildings and cities | Extra memory and build time |
| Terrain LOD | Quadtree or clipmap tiles by error | Large landscapes | Seams between tile levels |
| Cluster-based virtual geometry | Selects small triangle clusters per view | Film-quality assets in real time | Complex engine support required |
| Impostors and billboards | Replaces geometry with images | Trees, crowds, far objects | Flat look at oblique angles |
Cluster-based systems, such as Nanite in Unreal Engine 5, choose detail per group of roughly 128 triangles rather than per object. They largely remove manual LOD authoring for static meshes, but foliage, skinned characters and some materials still rely on traditional chains in many projects.
Creating LOD meshes
Simplified meshes are produced by mesh decimation, most often with quadric error metrics that collapse edges while measuring how far the surface drifts. Automatic tools are fast, but artists still review results because silhouettes, UV seams and skinning weights are easy to damage.
- Protect the silhouette: outlines carry most of the perceived shape at a distance.
- Preserve UV borders and hard edges: collapsing across them causes texture swimming and shading errors.
- Bake lost detail: transfer small geometry into normal maps before removing it.
- Reduce bones for characters: distant characters can skin to fewer joints and skip facial rigs.
- Match bounds and pivots: every level must share the same origin so switches do not shift the object.
Texture detail follows a parallel mechanism. Mipmapping and texture streaming lower texture resolution with distance, so geometric LOD and texture LOD are normally tuned together.
Hiding LOD transitions
The most visible failure of discrete LOD is popping, a sudden change in shape or shading when a switch occurs. Engines offer several ways to hide it, each with its own cost.
| Method | Effect | Cost |
|---|---|---|
| Dithered cross-fade | Both levels blend through a screen-door pattern | Two levels drawn briefly |
| Hysteresis | Different thresholds for switching up and down | Almost none |
| Geomorphing | Vertices slide smoothly between levels | Extra vertex data and shader work |
| Temporal anti-aliasing | Softens dither patterns over frames | Possible ghosting |
Hysteresis is the cheapest safeguard. Without it, an object sitting exactly at a threshold can flicker between two levels every frame, which is far more noticeable than a single clean switch.
Common mistakes with LOD
Poorly tuned LOD can cost performance instead of saving it. Teams most often encounter the following problems.
- Too aggressive thresholds: visible quality loss at normal gameplay distances.
- Too many levels: extra memory and authoring time for gains nobody sees.
- Ignoring shadows: shadow passes may use a different LOD and reveal low-detail shapes.
- Draw call blindness: cutting triangles while keeping many materials leaves the CPU bottleneck untouched.
- Inconsistent lightmaps: baked lighting that matches only LOD0 makes distant levels look darker or brighter.
The short version
Level of detail means drawing simpler versions of objects when they are far away. A tree close to you shows every leaf, while a tree on a distant hill becomes a few flat shapes, because your eye cannot tell the difference anyway.
It is like a painter who carefully paints faces in the front of a crowd scene but uses quick dabs for people in the background. The computer saves its effort for what you can actually see.
Where it makes a difference
A small studio is building an open-world driving game that must run at 60 frames per second on a mid-range console, which leaves a frame budget of about 16.7 milliseconds. A test drive through a forested valley shows the frame time spiking to 24 milliseconds whenever thousands of trees come into view.
The technical artist gives each tree a four-level chain: 30,000 triangles at LOD0, 8,000 at LOD1, 1,500 at LOD2 and an octahedral impostor beyond 5% of screen height. Distant groups of rocks and farm buildings are merged into hierarchical LOD proxies, and dithered cross-fades with hysteresis hide the switches.
After the change, the scene draws about 70% fewer triangles and far fewer draw calls. Frame time settles at around 14 milliseconds, and play testers report no visible popping during normal driving.