# Can't make LOD working

**URL:** https://forum.castle-engine.io/t/cant-make-lod-working/1812
**Category:** Uncategorized
**Created:** [March 7, 2025, 9:36am UTC](https://forum.castle-engine.io/t/cant-make-lod-working/1812 "2025-03-07T09:36:37Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [March 8, 2025, 4:07am UTC](https://forum.castle-engine.io/t/cant-make-lod-working/1812/5 "2025-03-08T04:07:25Z")

</div>

I pushed a small improvement to this example, also used `TCastleScene.Cache` = `true` to optimize loading (the `TCastleScene.Cache` is a feature independent from LOD – it’s useful when many `TCastleScene` refer to the same URL but for some reason one cannot use `TCastleTransformReference`, e.g. here `TCastleTransformReference` would prevent LOD being different in each scene).

Committed to [castle-engine/examples/viewport\_and\_scenes/level\_of\_detail\_demo at master · castle-engine/castle-engine · GitHub](https://github.com/castle-engine/castle-engine/tree/master/examples/viewport_and_scenes/level_of_detail_demo) , attaching also here for convenience.

[level\_of\_detail\_demo-0.1-src.zip](https://forum.castle-engine.io/uploads/short-url/5lbTvxWATdAHXlNuEV7nFZgYC3Q.zip) (776.7 KB)

 ![screenshot](https://forum.castle-engine.io/uploads/default/original/2X/6/61da301370b6dab5336659159a6db1a900407047.png)

---

_[View the full topic](https://forum.castle-engine.io/t/cant-make-lod-working/1812)._
