A long due article: Unreal Engine Nanite for Dummies

Madara Premawardhana
4 min readOct 4, 2023

In the world of real-time 3D graphics, Unreal Engine has long been a leading player, known for its cutting-edge technologies and robust game development capabilities. One of the most remarkable innovations to come out of Epic Games, the company behind Unreal Engine, is Unreal Engine Nanite. This revolutionary technology has reshaped the way we think about rendering in real-time applications. In this article, we’ll explore what Unreal Engine Nanite is, how it works, and how you can harness its power in your own projects. 2 years ago Unreal introduced Nanite for visual artistic and cenematic scenes. Everybody talks about it and got some free time to look back and give it a thorough look. Here’s what I found from scratch.

Understanding Unreal Engine Nanite

Unreal Engine Nanite is a groundbreaking virtualized geometry system introduced in Unreal Engine 5, which was released in May 2021. It represents a significant leap forward in the world of 3D rendering and allows developers to create incredibly detailed and expansive virtual worlds with unprecedented ease and efficiency.

At its core, Nanite is designed to eliminate the limitations imposed by traditional polygon-based rendering systems. Instead of relying on complex levels of detail (LOD) systems to manage geometric complexity, Nanite handles vast amounts of detail in real-time without compromising performance. This means that you can create environments with an astonishing level of detail, from microscopic textures to macroscopic landscapes, all without sacrificing frame rates.

The Working Behind the Theory

Nanite’s magic lies in its ability to render geometry on a per-pixel basis. Traditional rendering pipelines break down complex 3D models into simplified polygons that are rasterized and rendered to the screen. While this approach has served the industry well for years, it struggles with highly detailed assets.

Nanite, on the other hand, uses virtualized geometry. It stores geometric data in a highly compressed format, similar to how textures are stored in modern graphics cards. When rendering, only the visible pixels are processed, allowing Nanite to stream in the necessary geometry on the fly. This eliminates the need for complex LOD systems and drastically reduces memory consumption.

Here’s a simplified breakdown of how Nanite works:

  1. Virtualized Geometry: The 3D assets in your scene are converted into a virtualized format during import. This format is highly optimized for rendering efficiency.
  2. Streaming Geometry: As the camera moves or the player explores the environment, Nanite dynamically streams in only the necessary geometry, ensuring that what’s on the screen is rendered with the highest level of detail.
  3. Pixel-Perfect Rendering: Nanite renders geometry on a per-pixel basis, which means each pixel receives the appropriate level of detail, resulting in stunning visual fidelity.
  4. Minimal Memory Usage: Traditional LOD systems require multiple versions of assets at different levels of detail to be stored in memory. Nanite’s virtualized geometry drastically reduces memory requirements, allowing for much larger and more detailed worlds.

How to Use Unreal Engine Nanite

Now that we’ve explored what Nanite is and how it works, let’s delve into how you can leverage this technology in your Unreal Engine 5 projects.

1. Update to Unreal Engine 5:

To use Nanite, you’ll need to migrate your project to Unreal Engine 5. Ensure you’re using a version of Unreal Engine that includes this revolutionary feature.

2. Import Nanite Assets:

Import or create your 3D assets within Unreal Engine 5. Nanite works seamlessly with imported assets, so you can take full advantage of its capabilities.

3. Enable Nanite on Assets:

Nanite is automatically enabled for imported static meshes. You can confirm this by checking the “Nanite” option in the mesh settings.

4. Optimize Textures:

Nanite’s efficiency relies on the use of texture streaming, so ensure your textures are optimized for streaming to maximize performance.

5. Experiment and Iterate:

With Nanite at your disposal, you have the freedom to create highly detailed environments and characters. Experiment with your creations and iterate to achieve the level of detail and visual quality you desire.

Unreal Engine Nanite is a game-changer in the realm of real-time rendering. Its ability to handle incredibly detailed geometry with minimal memory usage opens up new creative possibilities for game developers, filmmakers, architects, and anyone working with 3D graphics. By understanding how Nanite works and following best practices, you can harness its power to create stunning, immersive experiences that were once only dreams in the world of digital creation. Unreal Engine Nanite is not just a technological leap; it’s a creative revolution.

--

--

Madara Premawardhana

PhD Student at the University of Buckingham, School of Computing