Latest news
Tips & GuidesUnreal Engine

Unreal Engine Nanite guide: Preparing high-detail scenes correctly

Nanite aims to bring high-polygon meshes into real-time workflows by processing visible detail according to the scene and camera view. This guide explains how to enable it and which settings to consider.

Contemporary architectural visualization showing a detailed stone facade and landscaping in close-upAI image
Representative image, generated with AI.Image: 3dsınıfı / FCA AI

In brief

  1. Nanite uses automatic levels of detail and streams data based on visible geometry for supported meshes.
  2. Nanite can be enabled during import, in the asset editor, or in bulk through the Content Browser.
  3. The Unreal Engine 5.5 Python API documentation includes usage notes for settings such as UV simplification and preserving foliage surface area.
  4. Nanite does not eliminate performance limits; evaluate the scene, materials, output resolution, and hardware together.

Nanite is Unreal Engine’s virtualized geometry system, which processes high-detail geometry according to the amount of detail visible on screen. According to Epic Games’ documentation, meshes are divided into triangle clusters during import; at render time, the system switches between levels of detail based on the camera view and loads the required data into memory on demand. This guide distinguishes the general workflow in the official documentation from experimental Python API settings published for Unreal Engine 5.0, 5.5, and 5.8.

1. Identify meshes suited to Nanite

Nanite is worth considering for meshes with a high triangle count, meshes that appear as small triangles on screen, meshes used many times in a scene, or meshes that occlude other Nanite geometry. Geometry that casts shadows using Virtual Shadow Maps is also among the suitable use cases cited in the documentation. Nanite-enabled static meshes can reduce the need to prepare LODs manually; the system dynamically determines the number of polygons used based on screen resolution.

However, being “Nanite-enabled” does not automatically mean optimal performance in every scene. Epic recommends evaluating instance count, triangles per mesh, material complexity, output resolution, and hardware together. Start by identifying assets that create a significant workload because of their detail or repeated use. A single, large-on-screen asset such as a sky sphere may be a less suitable candidate, although the documentation notes that such exceptions are generally rare.

2. Enable Nanite

The official Unreal Engine documentation describes three main ways to enable Nanite. Check Build Nanite when importing a mesh. For a single mesh already in the project, enable Enable Nanite Support in the Nanite Settings section of the Static Mesh Editor. To enable a group of Static or Skeletal Meshes together, select the assets in the Content Browser, right-click, and choose Nanite > Enable.

  1. For a new asset: Check Build Nanite during import. Preparing Nanite data takes processing time per mesh.

  2. For a single asset: Open the mesh in the relevant asset editor and use the Nanite enablement checkbox specified in the documentation.

  3. For a bulk operation: Select the supported assets in the Content Browser and run Nanite > Enable.

  4. For a large project: If you are preparing many Nanite assets, consider using a shared Derived Data Cache (DDC); Epic notes that this approach can be helpful, especially in large projects.

Your lighting choices can also affect import decisions. If the project does not use precomputed lighting with Lightmass, Epic recommends turning off Generate Lightmap UVs. With this option enabled, high-detail geometry can take longer to import and generate static mesh data; adding an extra UV channel to dense meshes can also increase the amount of data. Apply this recommendation only if the project does not require baked lighting.

3. Adjust simplification and custom settings to suit your needs

The Unreal Engine 5.5 experimental Python API documentation describes options in MeshNaniteSettings for triangle retention, fallback meshes, UV interpolation, preserving surface area, and on-screen edge length. These options are intended to control specific geometry behaviors, not to apply the same values to every scene.

SettingRecommended valueEffect
lerp_u_vsEnable when possible if UVs are regular texture coordinates; disable if UVs contain data, such as indices, that cannot be interpolated arithmeticallyDetermines how UV coordinates are transferred to new vertices during simplification. When disabled, UV-related error is not taken into account when Nanite selects LODs.
preserve_areaConsider enabling if leafy geometry becomes thinnerAttempts to preserve surface area at different distances; the documentation identifies this as particularly useful for foliage.
max_edge_length_factorDefault is 0; leave it at this value unless excessive simplification is clearly a problemHelps limit simplification by controlling the permitted on-screen distance between mesh vertices.
fallback_percent_trianglesThere is no universal value; 1,0 means no reduction, while 0,0 means no trianglesSets the proportion of triangles retained in the fallback mesh for cases where Nanite is unavailable.

These setting names and usage notes come from the Unreal Engine 5.5 experimental Python API documentation; do not assume that the same interface or defaults are available in other versions. For example, the Unreal Engine 5.0 API documentation lists different fields and defaults. The Unreal Engine 5.8 GeometryScript documentation provides a separate set of options for enabling Nanite on static meshes and configuring fallback meshes. Do not transfer these fields into automation scripts without checking the documentation for your version.

4. Validate performance in architectural visualization workflows

Nanite can support the direct use of high-detail sources such as ZBrush sculpts or photogrammetry scans, preserving geometric detail rather than baking it into a normal map. This can change modeling and asset-preparation workflows for close-up facades, stone, wood, or landscape elements. Unreal Engine’s documentation also states that Nanite static meshes work with Lumen and Virtual Shadow Maps.

For architecture and interiors teams, one potential benefit is less manual LOD preparation, especially for detailed assets used repeatedly or seen close to the camera. However, render resolution, material complexity, scene instance count, and the hardware in use still need to be measured. Because Nanite can quickly stream mesh data from disk on demand, Epic recommends an SSD for runtime storage. In large scenes, also test how the approach of keeping only the detail actually needed for the image in memory affects the project.

After enabling Nanite, check representative camera angles and use the target output resolution. Epic’s documentation notes that visualization modes are available for inspecting the Nanite pipeline; use them to assess visible detail and scene behavior. The source documentation does not specify a fixed performance threshold, so results need to be measured for each project and hardware setup.

Common mistakes

  • Assuming Nanite removes all limits related to polygons, instance count, or material complexity.

  • Not checking why Generate Lightmap UVs is still enabled in a project that does not require precomputed lighting with Lightmass.

  • Changing lerp_u_vs without checking whether the UV channel contains data, such as indices, that cannot be interpolated.

  • Assuming that API fields and defaults in the Unreal Engine 5.0, 5.5, and 5.8 documentation are identical.

  • Failing to account for Nanite data-generation time and runtime storage in project planning.

Sources

3 sources
D
dev.epicgames.comdev.epicgames.com/documentation/en-us/unreal-engine/nanite-virtualized-geometry-in-unreal-engine
Summary
D
dev.epicgames.comdev.epicgames.com/documentation/en-us/unreal-engine/python-api/class/MeshNaniteSettings
Summary
D
dev.epicgames.comdev.epicgames.com/documentation/en-us/unreal-engine/python-api/class/MeshNaniteSettings
Summary

Source texts are not republished; short quotes are marked, everything else is our own summary and commentary.

3dsınıfı’s take
3dEditor’s assessment

For architecture firms and visualization teams in Turkey, Nanite’s most tangible benefit is that it can reduce the need to prepare LODs manually for highly detailed assets. It is worth testing in projects that use close-up facades, landscaping, or scan data; however, converting every mesh to Nanite without evaluating it is not a sound optimization strategy.

It is important to account for import and data-generation times, as well as storage requirements, in the project schedule—especially for large scenes. The SSD recommendation and experimental API fields that can vary by version should not be overlooked. Firms should identify their equipment and project version, test representative scenes, and evaluate the results with their own target resolutions and hardware.

Frequently asked questions

How do I enable Nanite in Unreal Engine?

You can select `Build Nanite` during import. For existing meshes, enable it in the asset editor, or select multiple assets in the Content Browser and use `Nanite > Enable`.

Should Nanite be used for every mesh?

Epic recommends using it where possible on supported platforms, but instance count, triangle count, material complexity, output resolution, and performance should all be measured together.

Which Unreal Engine versions document Nanite?

Alongside the general Nanite documentation, the sources include experimental Python API documentation for Unreal Engine 5.0 and 5.5, and GeometryScript options for Unreal Engine 5.8.

Comments and the forum are in Turkish.Join the discussion
+

Related news