# \#instances

**URL:** https://forum.babylonjs.com/tag/instances/66.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [Instance skinned geometry](https://forum.babylonjs.com/t/instance-skinned-geometry/63515)

<div class="topic-metadata">

**Author:** [@joie](https://forum.babylonjs.com/u/joie)\
**Replies:** 11\
**Last updated:** [June 8, 2026, 11:14am UTC](https://forum.babylonjs.com/t/instance-skinned-geometry/63515 "2026-06-08T11:14:04Z")

</div>

Hi there, I’ve made a little animation of an algae floating in the ocean soil. The algae is skinned. Now, I need lots of algaes and my plan was to instance that skinned algae lots of times in order to save memmory and…

---

## [Grass, butterflies and trees with instancing](https://forum.babylonjs.com/t/grass-butterflies-and-trees-with-instancing/45646)

<div class="topic-metadata">

**Author:** [@CrashMaster](https://forum.babylonjs.com/u/CrashMaster)\
**Replies:** 22\
**Last updated:** [January 24, 2026, 11:12am UTC](https://forum.babylonjs.com/t/grass-butterflies-and-trees-with-instancing/45646 "2026-01-24T11:12:48Z")

</div>

Hello everyone! After watching the last video of Simon Dev on grass, I was inspired to recreate and expand it using BabylonJS. So I had a lot of fun with instances and stuff and it came up nicely I think: You can tr…

---

## [Large scale terrain details generation](https://forum.babylonjs.com/t/large-scale-terrain-details-generation/61389)

<div class="topic-metadata">

**Author:** [@pietrko](https://forum.babylonjs.com/u/pietrko)\
**Replies:** 1\
**Last updated:** [November 11, 2025, 9:48pm UTC](https://forum.babylonjs.com/t/large-scale-terrain-details-generation/61389 "2025-11-11T21:48:53Z")

</div>

I have following problem. I need to render thousands of small strategic map cities. Each city is very similar to each and is composed of up to 100 different meshes Cities are placed in different areas of the world i w…

---

## [Is there an equivalent to Unreal Engine's instanced materials in Babylon?](https://forum.babylonjs.com/t/is-there-an-equivalent-to-unreal-engines-instanced-materials-in-babylon/54428)

<div class="topic-metadata">

**Author:** [@Kochab](https://forum.babylonjs.com/u/Kochab)\
**Replies:** 9\
**Last updated:** [October 13, 2025, 5:30pm UTC](https://forum.babylonjs.com/t/is-there-an-equivalent-to-unreal-engines-instanced-materials-in-babylon/54428 "2025-10-13T17:30:53Z")

</div>

In Unreal, instanced materials allow you to specify parameters that can change during runtime. To update the value, the C++ code looks like this: MaterialInstanceDynamic-\>SetScalarParameterValue("MyParameter", myFloatVa…

---

## [Instancing with shaderMaterial and orthographic bug?](https://forum.babylonjs.com/t/instancing-with-shadermaterial-and-orthographic-bug/59960)

<div class="topic-metadata">

**Author:** [@Wigen](https://forum.babylonjs.com/u/Wigen)\
**Replies:** 6\
**Last updated:** [August 15, 2025, 5:32pm UTC](https://forum.babylonjs.com/t/instancing-with-shadermaterial-and-orthographic-bug/59960 "2025-08-15T17:32:03Z")

</div>

:edit: question is now around how instances and shaderMaterial are not working like standardMaterial’s z order when using a orthographic camera. Instancing with shaderMaterial and orthographic bug? - #5 by Wigen My que…

---

## [Reducing VRAM usage for instances and thin instances](https://forum.babylonjs.com/t/reducing-vram-usage-for-instances-and-thin-instances/60039)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 4\
**Last updated:** [August 15, 2025, 12:34am UTC](https://forum.babylonjs.com/t/reducing-vram-usage-for-instances-and-thin-instances/60039 "2025-08-15T00:34:16Z")

</div>

Currently instances and thin instances use 4 vec4 buffers for instanced matrices. But as the matrices are composed from TRS, or multiplied with other matrices with TRS, the last row of it should always be 0, 0, 0, 1, an…

---

## [InstancedMesh: duplicated call to refreshBoundingInfo in clone()](https://forum.babylonjs.com/t/instancedmesh-duplicated-call-to-refreshboundinginfo-in-clone/59939)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 7\
**Last updated:** [August 8, 2025, 2:56pm UTC](https://forum.babylonjs.com/t/instancedmesh-duplicated-call-to-refreshboundinginfo-in-clone/59939 "2025-08-08T14:56:15Z")

</div>

In InstancedMesh.clone(), it calls refreshBoundingInfo after the cloned instance constructed. But createInstance , which internally called Mesh.\_instancedMeshFactory, which called the InstancedMesh constructor, where r…

---

## [GPUParticleSystem syncing with VAT animations on mesh instances](https://forum.babylonjs.com/t/gpuparticlesystem-syncing-with-vat-animations-on-mesh-instances/59762)

<div class="topic-metadata">

**Author:** [@knervous](https://forum.babylonjs.com/u/knervous)\
**Replies:** 3\
**Last updated:** [July 30, 2025, 5:13pm UTC](https://forum.babylonjs.com/t/gpuparticlesystem-syncing-with-vat-animations-on-mesh-instances/59762 "2025-07-30T17:13:40Z")

</div>

So this was a fun deep dive getting to know what drives the particle systems, particularly the GPU particle systems, in Babylon. Here’s the setup and the PG Models with animations that have pre-generated VAT to create …

---

## [Questions of Thin Instances v.s. regular Instances](https://forum.babylonjs.com/t/questions-of-thin-instances-v-s-regular-instances/59420)

<div class="topic-metadata">

**Author:** [@crd233](https://forum.babylonjs.com/u/crd233)\
**Replies:** 3\
**Last updated:** [July 10, 2025, 9:17am UTC](https://forum.babylonjs.com/t/questions-of-thin-instances-v-s-regular-instances/59420 "2025-07-10T09:17:14Z")

</div>

According to my understanding, compared to regular instanced meshes, Thin Instances store all instance data in several Float32Array buffers, which reduces overhead on the JavaScript side and cost of loop of all mesh obje…

---

## [An attempt on merging instances in a tree structured model](https://forum.babylonjs.com/t/an-attempt-on-merging-instances-in-a-tree-structured-model/58952)

<div class="topic-metadata">

**Author:** [@Moify](https://forum.babylonjs.com/u/Moify)\
**Replies:** 1\
**Last updated:** [June 12, 2025, 5:00pm UTC](https://forum.babylonjs.com/t/an-attempt-on-merging-instances-in-a-tree-structured-model/58952 "2025-06-12T17:00:30Z")

</div>

Introduction So I have this really large model (cant share) which has a tree structure and lots of instance but also multi-materials and since I import from GLTF I the multi-materials end up as separate meshes and I don’…

---

## [Clone vs instances of Gaussian Splattings](https://forum.babylonjs.com/t/clone-vs-instances-of-gaussian-splattings/58870)

<div class="topic-metadata">

**Author:** [@DavidP](https://forum.babylonjs.com/u/DavidP)\
**Replies:** 3\
**Last updated:** [June 9, 2025, 7:40am UTC](https://forum.babylonjs.com/t/clone-vs-instances-of-gaussian-splattings/58870 "2025-06-09T07:40:25Z")

</div>

Hi, Can someone confirm that cloning and creating instances of Gaussian Splatting objects would have the same performance (in terms of memory and computation)? I would think so because the difference between these two …

---

## [InstancedMesh: why fully refreshBoundingInfo even without bones](https://forum.babylonjs.com/t/instancedmesh-why-fully-refreshboundinginfo-even-without-bones/58543)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 5\
**Last updated:** [May 21, 2025, 3:08am UTC](https://forum.babylonjs.com/t/instancedmesh-why-fully-refreshboundinginfo-even-without-bones/58543 "2025-05-21T03:08:10Z")

</div>

In this code, a forced refresh of bounding info is called in the constructor, which can cause performance issue when creating a lot of instances, since it requires to iterate through all vertices. A quick blame shows t…

---

## [billboardMode of sourceMesh changes instance rotation](https://forum.babylonjs.com/t/billboardmode-of-sourcemesh-changes-instance-rotation/58469)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 4\
**Last updated:** [May 20, 2025, 12:44am UTC](https://forum.babylonjs.com/t/billboardmode-of-sourcemesh-changes-instance-rotation/58469 "2025-05-20T00:44:16Z")

</div>

Engine: WebGL2 Version: 8.8.1 Playground: Babylon.js Playground Steps to reproduce: Open the playground: Babylon.js Playground Move camera Watch the blue box Expected: The blue box kept exactly its rotation, and d…

---

## [IBL Shadows Pipeline and instancing](https://forum.babylonjs.com/t/ibl-shadows-pipeline-and-instancing/57458)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 5\
**Last updated:** [April 1, 2025, 10:46am UTC](https://forum.babylonjs.com/t/ibl-shadows-pipeline-and-instancing/57458 "2025-04-01T10:46:16Z")

</div>

Version: 8.0.1 Engine: WebGL2 Playground: Clones: Instances: Thin instances: Expected: All these 3 playground shows the same result Actual: Clones: Instances: Thin instances: Other note: Not sure…

---

## [Many instances and shadows](https://forum.babylonjs.com/t/many-instances-and-shadows/56380)

<div class="topic-metadata">

**Author:** [@Tom\_Haddon](https://forum.babylonjs.com/u/Tom_Haddon)\
**Replies:** 1\
**Last updated:** [February 4, 2025, 2:06pm UTC](https://forum.babylonjs.com/t/many-instances-and-shadows/56380 "2025-02-04T14:06:08Z")

</div>

Hi Folks, I’ve got a project with many thin instances (50k trees) and have noticed a significant drop in FPS if I apply shadows to the instances. I’ve got a playground reproduction that’s a bit less severe but shows the…

---

## [How to change UV for Instance?](https://forum.babylonjs.com/t/how-to-change-uv-for-instance/55907)

<div class="topic-metadata">

**Author:** [@Lemcat](https://forum.babylonjs.com/u/Lemcat)\
**Replies:** 5\
**Last updated:** [January 14, 2025, 1:19pm UTC](https://forum.babylonjs.com/t/how-to-change-uv-for-instance/55907 "2025-01-14T13:19:09Z")

</div>

I’ve found here something like… changing an offset in instanced mesh, as it passes Vector2 and not Vector4 type? PG: playground Is it possible to replace UV using Vector4? Not just making some offset but all UV coords:…

---

## [Is there any point in using ellipsoids for Instances in terms of performance?](https://forum.babylonjs.com/t/is-there-any-point-in-using-ellipsoids-for-instances-in-terms-of-performance/55908)

<div class="topic-metadata">

**Author:** [@Lemcat](https://forum.babylonjs.com/u/Lemcat)\
**Replies:** 3\
**Last updated:** [January 13, 2025, 11:55pm UTC](https://forum.babylonjs.com/t/is-there-any-point-in-using-ellipsoids-for-instances-in-terms-of-performance/55908 "2025-01-13T23:55:36Z")

</div>

I have an idea to make regular instances for all my game objects including movable objects even those, that will move with moveWithCollisions. Is it a good idea to move ellipsoids of Instances or they are not made for su…

---

## [glTF instance demo not working recently](https://forum.babylonjs.com/t/gltf-instance-demo-not-working-recently/54969)

<div class="topic-metadata">

**Author:** [@cx20](https://forum.babylonjs.com/u/cx20)\
**Replies:** 4\
**Last updated:** [November 24, 2024, 11:09pm UTC](https://forum.babylonjs.com/t/gltf-instance-demo-not-working-recently/54969 "2024-11-24T23:09:26Z")

</div>

Below is an instancing example I created previously. This is a sample that instantiates a glTF model and arranges it to match the shape of the glTF model. I think it used to work, but when I tried it recently, it no lo…

---

## [Instanced mesh of type MeshBuilder.CreateRibbon is not showing](https://forum.babylonjs.com/t/instanced-mesh-of-type-meshbuilder-createribbon-is-not-showing/54731)

<div class="topic-metadata">

**Author:** [@Slavik](https://forum.babylonjs.com/u/Slavik)\
**Replies:** 7\
**Last updated:** [November 13, 2024, 3:48pm UTC](https://forum.babylonjs.com/t/instanced-mesh-of-type-meshbuilder-createribbon-is-not-showing/54731 "2024-11-13T15:48:04Z")

</div>

Hi everyone! I’m new to the babylon.js and have trouble with instances. This is how i create main mesh with normal material, also tried with material for instances this.main.mesh = BB.MeshBuilder.CreateRibbon( \`main…

---

## [Drawcalls not decreasing with instances](https://forum.babylonjs.com/t/drawcalls-not-decreasing-with-instances/54235)

<div class="topic-metadata">

**Author:** [@franky3D](https://forum.babylonjs.com/u/franky3D)\
**Replies:** 25\
**Last updated:** [October 23, 2024, 12:21pm UTC](https://forum.babylonjs.com/t/drawcalls-not-decreasing-with-instances/54235 "2024-10-23T12:21:21Z")

</div>

Hi BJS Community ! As you can see in the BJS playground below, I instanciated panels, trying to get only 2 drawcalls like in the forest example\[BJS documentation\]. I have done evething like this. But as you can see in t…

---

## [How to make a neckless chain in node editor, need a curve?](https://forum.babylonjs.com/t/how-to-make-a-neckless-chain-in-node-editor-need-a-curve/53835)

<div class="topic-metadata">

**Author:** [@anim8err](https://forum.babylonjs.com/u/anim8err)\
**Replies:** 7\
**Last updated:** [October 6, 2024, 7:08pm UTC](https://forum.babylonjs.com/t/how-to-make-a-neckless-chain-in-node-editor-need-a-curve/53835 "2024-10-06T19:08:10Z")

</div>

I am trying to make a neckless with instances of the links. I can make it with Instantiate Radial and a box, but I would like to use a mesh line or curve. Would I also be able to apply physics to the curve later. I am no…

---

## [Instances with animation](https://forum.babylonjs.com/t/instances-with-animation/25623)

<div class="topic-metadata">

**Author:** [@jayakannan](https://forum.babylonjs.com/u/jayakannan)\
**Replies:** 18\
**Last updated:** [September 29, 2024, 12:05am UTC](https://forum.babylonjs.com/t/instances-with-animation/25623 "2024-09-29T00:05:52Z")

</div>

Hi, I tried to import a mesh with animations and created instance for it using below reference. But, the main mesh only animating, the instance mesh is not animating. How to solve this? https://playground.babylonjs.com…

---

## [Possible issue with screenshots (RTT) and instanced meshes](https://forum.babylonjs.com/t/possible-issue-with-screenshots-rtt-and-instanced-meshes/51688)

<div class="topic-metadata">

**Author:** [@dgorbash](https://forum.babylonjs.com/u/dgorbash)\
**Replies:** 15\
**Last updated:** [September 11, 2024, 2:05pm UTC](https://forum.babylonjs.com/t/possible-issue-with-screenshots-rtt-and-instanced-meshes/51688 "2024-09-11T14:05:48Z")

</div>

Hi BJS team, I faced a strange behavior of CreateScreenshotUsingRenderTarget when a scene contains instanced meshes. Under some conditions, the resulting screenshot misses meshes that have instanced “children”. Details…

---

## [Issue in InstancedMesh clone](https://forum.babylonjs.com/t/issue-in-instancedmesh-clone/53343)

<div class="topic-metadata">

**Author:** [@Lecornflake](https://forum.babylonjs.com/u/Lecornflake)\
**Replies:** 3\
**Last updated:** [September 11, 2024, 10:16am UTC](https://forum.babylonjs.com/t/issue-in-instancedmesh-clone/53343 "2024-09-11T10:16:44Z")

</div>

Hello, I found a stack overflow when trying to clone an instance and assigning the instance as the parent of its clone (via the clone method). Here’s a playground : Thanks in advance for the fix.

---

## [How to reduce the time for \`mesh.instantiateHierarchy\`?](https://forum.babylonjs.com/t/how-to-reduce-the-time-for-mesh-instantiatehierarchy/52723)

<div class="topic-metadata">

**Author:** [@AmirHo3ein](https://forum.babylonjs.com/u/AmirHo3ein)\
**Replies:** 2\
**Last updated:** [August 12, 2024, 11:02am UTC](https://forum.babylonjs.com/t/how-to-reduce-the-time-for-mesh-instantiatehierarchy/52723 "2024-08-12T11:02:32Z")

</div>

Hi, I’m implementing an endless runner game and I have a glb model which has some stage templates on it. I load the model into an asset container and I randomly pick one of these templates and call the instantiateHierarc…

---

## [When an instance is scaled negatively, the instance buffer stops functioning correctly](https://forum.babylonjs.com/t/when-an-instance-is-scaled-negatively-the-instance-buffer-stops-functioning-correctly/52079)

<div class="topic-metadata">

**Author:** [@Narinder](https://forum.babylonjs.com/u/Narinder)\
**Replies:** 5\
**Last updated:** [July 16, 2024, 8:21am UTC](https://forum.babylonjs.com/t/when-an-instance-is-scaled-negatively-the-instance-buffer-stops-functioning-correctly/52079 "2024-07-16T08:21:58Z")

</div>

We are developing a selection system to highlight individual meshes with custom colors. To handle instances, using instanced buffers, but encountering an issue where instances with negative scaling behave unexpectedly. B…

---

## [Havok disablePreStep issue with instances](https://forum.babylonjs.com/t/havok-disableprestep-issue-with-instances/51641)

<div class="topic-metadata">

**Author:** [@CrashMaster](https://forum.babylonjs.com/u/CrashMaster)\
**Replies:** 4\
**Last updated:** [June 28, 2024, 8:23am UTC](https://forum.babylonjs.com/t/havok-disableprestep-issue-with-instances/51641 "2024-06-28T08:23:33Z")

</div>

Hey everyone! I am fiddling around with instances and havok and I found a weird behavior when using disablePreStep: The meshes are attached to their parents but the physics body does not cooperate xD The doc says “I…

---

## [NGE UV-variation for instances](https://forum.babylonjs.com/t/nge-uv-variation-for-instances/51630)

<div class="topic-metadata">

**Author:** [@Fenk](https://forum.babylonjs.com/u/Fenk)\
**Replies:** 3\
**Last updated:** [June 28, 2024, 6:21am UTC](https://forum.babylonjs.com/t/nge-uv-variation-for-instances/51630 "2024-06-28T06:21:23Z")

</div>

Hi there! I have a little question regarding the Node Geometry Editor. I want to instantiate a mesh multiple times in a linear direction. (works) I want to give the UVs a random offset per instantiated mesh. Is this …

---

## [Havok instances break when changing the scaling of individual instances](https://forum.babylonjs.com/t/havok-instances-break-when-changing-the-scaling-of-individual-instances/51632)

<div class="topic-metadata">

**Author:** [@CrashMaster](https://forum.babylonjs.com/u/CrashMaster)\
**Replies:** 1\
**Last updated:** [June 27, 2024, 9:23am UTC](https://forum.babylonjs.com/t/havok-instances-break-when-changing-the-scaling-of-individual-instances/51632 "2024-06-27T09:23:18Z")

</div>

Hey everyone! I am working on asteroid fields and I want to use instancing with Havok. I found something weird when changing the scaling of individual instances: When the scaling is equal to 1, the bodies are created…

---

## [Instantiate a glb animation in ImportMeshAsync](https://forum.babylonjs.com/t/instantiate-a-glb-animation-in-importmeshasync/50997)

<div class="topic-metadata">

**Author:** [@DavidP](https://forum.babylonjs.com/u/DavidP)\
**Replies:** 3\
**Last updated:** [June 3, 2024, 3:43pm UTC](https://forum.babylonjs.com/t/instantiate-a-glb-animation-in-importmeshasync/50997 "2024-06-03T15:43:48Z")

</div>

Hello, I want to instantiate a glb animation in ImportMeshAsync(), but the scaling is incorrect. I expect to achieve this result: Can you please let me know if there is a limitation with ImportMeshAsync(), and to in…

[Next page](https://forum.babylonjs.com/tag/instances/66.md?match_all_tags=true&page=1&tags%5B%5D=instances)
