# Removing LOD levels for instances

**URL:** <https://forum.babylonjs.com/t/removing-lod-levels-for-instances/33531>\
**Category:** Questions\
**Created:** [August 30, 2022, 3:20pm UTC](https://forum.babylonjs.com/t/removing-lod-levels-for-instances/33531 "2022-08-30T15:20:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marsh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/marsh/32/27798_2.png) [@marsh](https://forum.babylonjs.com/u/marsh)\
**Post date:** [August 30, 2022, 3:20pm UTC](https://forum.babylonjs.com/t/removing-lod-levels-for-instances/33531/1 "2022-08-30T15:20:26Z")

</div>

I have a mesh which I instance many times with createInstance(). [In the docs](https://doc.babylonjs.com/divingDeeper/mesh/LOD#:~:text=You%20do%20not%20have%20to%20specify%20anything%20on%20instances%3A), it says that I only have to set LOD for the baseMesh, and the instances will have the same LODs. This works perfectly.

Now, I want to be able to show a mesh even if it is outside the highest LOD-distance. For this, I tried `(myInstancedMesh as BABYLON.Mesh).removeLODLevel(null)`. However, this throws an error saying removeLODLevel doesn’t exist on myInstancedMesh. Can I only have one set of LODLevels for all my instanced meshes or am I doing something different wrong?  
When I change instance to clone, I ofc have to add the LODLevels for all the clones, but after that it works as expected.

Another (un/semi-related) thing I tried is adding LODLevels to thinInstances. It didn’t work, they just disappeared entirely from the scene. I googled it and found [this forum post](https://discourse.threejs.org/t/lod-instancing/20524#:~:text=which%20don%E2%80%99t%20support%20LODs), which says that thinInstances don’t support LOD at all. However, it’s the only thing I found relating LOD and thinInstances. Would it make sense to mention this in the doc article for LOD

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [August 30, 2022, 3:55pm UTC](https://forum.babylonjs.com/t/removing-lod-levels-for-instances/33531/2 "2022-08-30T15:55:40Z")

</div>

> [@marsh](#):
>
> Can I only have one set of LODLevels for all my instanced meshes or am I doing something different wrong

You need to do it only on the main mesh I believe but a playground would really help us help you here.

adding @PirateJC for the doc part.

---

<div class="post-metadata">

**Author:** ![marsh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/marsh/32/27798_2.png) [@marsh](https://forum.babylonjs.com/u/marsh)\
**Post date:** [August 31, 2022, 1:41pm UTC](https://forum.babylonjs.com/t/removing-lod-levels-for-instances/33531/3 "2022-08-31T13:41:32Z")

</div>

Yeah I think I was a bit too tired yesterday or something, I should have checked the API before coming here. I was trying to call removeLODLevel() on an InstancedMesh, which doesn’t exist but somehow I was convinced it did exist.

Basically, I need to have different LOD levels for some of my instances, which doesn’t seem possible, so I’ve now changed them from instances to clones and it works perfectly.
