---
title: "Godot 4 LOD: import LODs and visibility ranges"
description: "Godot 4 builds mesh LODs on import and switches them by screen size. Tune them with lod_bias, and use visibility ranges to swap whole objects by distance."
canonical: https://appliedmanifold.com/mesh/lod-godot/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [meshfx](https://appliedmanifold.com/mesh/)
3.  LOD in Godot 4

meshfx // LOD // GODOT

# How to set up LOD in Godot 4

Godot 4 builds LODs (lower-detail versions of a mesh) for you when it imports a 3D scene, and switches between them by screen size with no setup. You tune them with `lod_bias` on the mesh node, and when you want to swap whole objects at set distances you use visibility ranges, which can also fade between them.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx docs →](https://appliedmanifold.com/docs/mesh/)

pyrofx effects work today, and new accounts start with $5 of usage.

**MODULE // meshfx AVAILABLE**

meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the [Playground](https://appliedmanifold.com/playground/).

-   Mesh LOD: automatic on import
-   Tune with lod\_bias
-   Visibility ranges for whole objects

01 // meshfx LOD

## Check and tune the automatic LODs

1.  Select the imported .glb, .gltf, .blend or .fbx file, check that Meshes > Generate LODs is on in the Import dock, and click Reimport after any change.
2.  Switch the viewport to Display Wireframe and move the camera away from the model to watch the mesh get lighter.
3.  Raise `lod_bias` on the `MeshInstance3D` above 1.0 to keep detail longer, or lower it to switch sooner.
4.  To shift every mesh at once, change Rendering > Mesh LOD > LOD Change > Threshold Pixels in Project Settings. Higher values use lower detail sooner, and 0 turns mesh LOD off.

02 // VISIBILITY RANGES

## Swap whole objects with visibility ranges

Visibility ranges (Godot's HLOD) show or hide a node by camera distance. Use them when the far version is a different object, such as a building that becomes a simple block or a cluster of trees that becomes one merged mesh.

-   On the detailed node, set Visibility Range > End to the distance where it should disappear, for example 40 m.
-   On the far version, set Visibility Range > Begin to the same 40 m.
-   Give both an End Margin or Begin Margin of a few meters and set Fade Mode to Self, so the two cross-fade instead of popping.

03 // WHEN IT FALLS SHORT

## When to make LODs yourself

Automatic LOD only simplifies the mesh it was given. Materials and draw calls stay the same, and it can round off detail you care about, such as a thin railing or a character's face. For those, make the levels in your 3D editor and switch them with visibility ranges, or turn Generate LODs off for that file.

Meshes you build in code do not get import LODs, so give them hand-made levels if they need them.

04 // meshfx

## meshfx for lod in godot 4

meshfx reduces toward a triangle budget and makes LODs by count, ratio, explicit budgets or error. Each level reports measured distance, outline and faults. Godot 4 is the supported output target. Hosted meshfx runs are available in the Playground.

05 // RELATED

## Related pages

-   [LOD in Unity AvailableSet up a LOD Group in Unity by hand or from \_LOD suffixes in an FBX, pick switch points, and cross-fade between levels.](https://appliedmanifold.com/mesh/lod-unity/)
-   [LOD in Unreal AvailableGenerate and tune LODs in Unreal Engine 5's Static Mesh Editor, import your own levels, and know when Nanite replaces them.](https://appliedmanifold.com/mesh/lod-unreal/)
-   [Godot polycount AvailableStarting triangle budgets for Godot 4, how the three renderers change them, and how to read the primitive count while the game runs.](https://appliedmanifold.com/mesh/polycount-godot/)
-   [Collision in Godot 4 AvailableAdd collision in Godot 4 with Create Collision Shape or -col and -colonly import suffixes, and pick trimesh or convex shapes.](https://appliedmanifold.com/mesh/collision-mesh-godot/)
-   [Level of detail (LOD) AvailableLOD keeps lighter versions of a model and swaps them in as it shrinks on screen, cutting triangles without visible loss.](https://appliedmanifold.com/learn/lod/)
-   [meshfxmeshfx reads an input model, repairs surface faults and compiles reduced GLB levels of detail for Godot, three.js or any glTF loader.](https://appliedmanifold.com/docs/mesh/)

[All pages in meshfx →](https://appliedmanifold.com/mesh/)

[← Reduce polycount](https://appliedmanifold.com/mesh/reduce-polycount/)[LOD in Unity →](https://appliedmanifold.com/mesh/lod-unity/)

06 // FAQ

## Godot LOD questions

[All questions →](https://appliedmanifold.com/faq/)

**README.LOD\_GODOT**

### Why is LOD not working in Godot?

Ensure Generate LODs is enabled in import settings, lod\_bias is not set too high and Threshold Pixels is above zero.

### How do I set LOD distance in Godot?

Use visibility ranges on GeometryInstance3D nodes to swap whole objects at exact camera distances or let import LODs switch by screen size.

### What does LOD bias do in Godot?

The lod\_bias property scales when a node drops detail, with values above 1.0 keeping detail longer and lower values switching sooner.

### How do I stop LOD popping in Godot?

Enable fade modes on visibility ranges for whole object swaps or raise lod\_bias so automatic mesh switches happen farther away.

## Explore meshfx outputs

Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx →](https://appliedmanifold.com/docs/mesh/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
