Introduction to Mesh LOD
Mesh LOD runtime quality

Generate LODs on import

To generate LODsThe Level Of Detail (LOD) technique is an optimization that reduces the number of triangles that Unity has to render for a GameObject when its distance from the Camera increases. More info
See in Glossary
at import time:

  1. Select a model to import. For more information on importing models, refer to Importing a model.

  2. In the InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
    See in Glossary
    window, in the MeshThe main graphics primitive of Unity. Meshes make up a large part of your 3D worlds. Unity supports triangulated or Quadrangulated polygon meshes. Nurbs, Nurms, Subdiv surfaces must be converted to polygons. More info
    See in Glossary
    LODs
    section, select Generate mesh LODs. Unity displays more settings related to Mesh LOD. For more information on the settings, refer to Mesh LOD properties reference.

  3. Click Apply. Unity performs the LOD generation process as part of the import process.

Generating LODs increases import time.

When the import process finishes, you can view the generated LODs in the mesh Inspector window.

Note: if the original mesh does not satisfy the conditions necessary to start the generation process, Unity does not generate LODs. For more information, refer to section How the Mesh LOD generator works.

If the model contains meshes named _LODx, Unity imports them as LOD GroupA component to manage level of detail (LOD) for GameObjects. More info
See in Glossary
components. If you select Generate mesh LODs for such models, Unity generates Mesh LODs for each imported LOD Group index. This workflow is not recommended, use it only if your specific use case requires it.

Discard the Mesh LOD data

If you no longer need the generated Mesh LOD data, you can discard it as follows:

  1. Select a model with generated LODs.

  2. In the Inspector window, in the Mesh LODs section, clear the Generate mesh LODs checkbox.

  3. Click Apply. Unity discards the previously generated Mesh LOD data.

View generated LODs

To view LODs generated by the Mesh LOD feature:

  1. Select the mesh assets of a GameObject.

  2. In the Mesh Inspector window, use the LOD slider to select and view one of available LODs.

    Mesh Inspector window with LOD slider.
    Mesh Inspector window with LOD slider.

The Level of Detail property In the Mesh Inspector window displays the number of LODs in the selected mesh.

Additional resources


Did you find this page useful? Please give it a rating:

Introduction to Mesh LOD
Mesh LOD runtime quality