O'Reilly logo

Building Levels in Unity by Volodymyr Gerasimov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using LODs in Unity

LOD stands for Level of Details. This is an extremely useful functionality that allows you to optimize your game by switching highly detailed objects with those of a simpler geometry, based on their screen space.

Note

LODs are toggled based on the percentage of game screen that is being occupied by the object, not just the camera distance, as is the case in many other programs.

In Unity, LOD is represented by an LOD Group component.

How to prepare LODs

In order to make LODs work, you need to have the actual models—more precisely, multiple versions of the same model that scale down in polycount. Here are a few useful tips to follow when creating LOD models:

  • The number of versions is completely up to you as Unity will allow the creation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required