# \[SOLVED\] Level of Details System

**URL:** <https://forum.playcanvas.com/t/solved-level-of-details-system/25393>\
**Category:** Help & Support\
**Tags:** scripting\
**Created:** [April 25, 2022, 6:39am UTC](https://forum.playcanvas.com/t/solved-level-of-details-system/25393 "2022-04-25T06:39:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkthegreat](https://forum.playcanvas.com/letter_avatar_proxy/v4/letter/d/d2c977/32.png) [@dkthegreat](https://forum.playcanvas.com/u/dkthegreat)\
**Post date:** [April 25, 2022, 6:39am UTC](https://forum.playcanvas.com/t/solved-level-of-details-system/25393/1 "2022-04-25T06:39:32Z")

</div>

I am looking for a Level of Details system to help build some “large” scenes like cities and forests. I found [Released: Hera LOD Manager - Showcase - PlayCanvas Discussion](https://forum.playcanvas.com/t/released-hera-lod-manager/8805) is what I am looking for but it said ‘Extension version has been deprecated, stay tuned for coming updates!’ So is there any other tools I could use? or how to realize it buy code?

---

<div class="post-metadata">

**Author:** ![dkthegreat](https://forum.playcanvas.com/letter_avatar_proxy/v4/letter/d/d2c977/32.png) [@dkthegreat](https://forum.playcanvas.com/u/dkthegreat)\
**Post date:** [April 25, 2022, 6:42am UTC](https://forum.playcanvas.com/t/solved-level-of-details-system/25393/2 "2022-04-25T06:42:50Z")

</div>

I also checked the Batching tutorials and I am wondering if I am using Group Batching for some models(like trees and roads) Do I need to worry about the Level of Details System?

---

<div class="post-metadata">

**Author:** ![Leonidas](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/leonidas/32/6495_2.png) [@Leonidas](https://forum.playcanvas.com/u/Leonidas)\
**Post date:** [April 25, 2022, 7:59am UTC](https://forum.playcanvas.com/t/solved-level-of-details-system/25393/3 "2022-04-25T07:59:20Z")

</div>

Hi @dkthegreat,

Indeed the paid extension has been deprecated, there is a new solution as an alternative in development here:

> **[Tech - Solar Games](https://solargames.io/tools/)**
>
> \[et\_pb\_section fb\_built=”1″ \_builder\_version=”4.16″ \_module\_preset=”default” background\_image=”https://solargames.io/store/wp-content/uploads/2022/04/island\_7\_-1.jpg” custom\_padding=”200px||350px||false|false” global\_colors\_info=”{}”\]\[et\_pb\_row...

For simple LOD it’s actually quite easy to do it yourself:

- Have your various level of details available on separate entities
- Do a distance check between each entity from your active camera
- Enable the right LOD entity based on that distance

That can work for a small number of entities, but if you have a bigger scene all those distances checks will kill performance. From there you need some notion of a grid/cells to better manage this.

> [@dkthegreat](#):
>
> I also checked the Batching tutorials and I am wondering if I am using Group Batching for some models(like trees and roads) Do I need to worry about the Level of Details System?

That will only take care of reducing draw calls, not polycount. If you are using batching it’s a bit harder to use level of details since all mesh instances are getting grouped in a single batched mesh instance internally. You will have to dig in the engine’s internals to find a way to show/hide batch groups depending on the active LOD.

---

<div class="post-metadata">

**Author:** ![dkthegreat](https://forum.playcanvas.com/letter_avatar_proxy/v4/letter/d/d2c977/32.png) [@dkthegreat](https://forum.playcanvas.com/u/dkthegreat)\
**Post date:** [April 25, 2022, 10:19pm UTC](https://forum.playcanvas.com/t/solved-level-of-details-system/25393/4 "2022-04-25T22:19:15Z")

</div>

Thank you for your fast reply. It’s very helpful and looking forward your new tools!
