# \#sps

**URL:** https://forum.babylonjs.com/tag/sps/20.md

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

---

## [Disposing of loaded assets](https://forum.babylonjs.com/t/disposing-of-loaded-assets/63006)

<div class="topic-metadata">

**Author:** [@Si\_Barrick](https://forum.babylonjs.com/u/Si_Barrick)\
**Replies:** 1\
**Last updated:** [April 1, 2026, 7:29pm UTC](https://forum.babylonjs.com/t/disposing-of-loaded-assets/63006 "2026-04-01T19:29:44Z")

</div>

I was trying to setup a playground to demo loading of glb files into an SPS and then disposing and loading a new one. It turns out it’s quite complex to avoid leaving stray textures etc. in memory. Unless I’m missing s…

---

## [How do you convert a glb with vertex colors to a SPS](https://forum.babylonjs.com/t/how-do-you-convert-a-glb-with-vertex-colors-to-a-sps/62841)

<div class="topic-metadata">

**Author:** [@Si\_Barrick](https://forum.babylonjs.com/u/Si_Barrick)\
**Replies:** 10\
**Last updated:** [March 20, 2026, 5:54pm UTC](https://forum.babylonjs.com/t/how-do-you-convert-a-glb-with-vertex-colors-to-a-sps/62841 "2026-03-20T17:54:12Z")

</div>

Take a look at this playground: I’m trying to work out how to import a glb file with vertex colors and get it to display the same as a Solid Particle System. This test is just with a cube but I get similar issues wit…

---

## [Increasing pickable area for SPS particles](https://forum.babylonjs.com/t/increasing-pickable-area-for-sps-particles/56095)

<div class="topic-metadata">

**Author:** [@Forsaken](https://forum.babylonjs.com/u/Forsaken)\
**Replies:** 1\
**Last updated:** [January 21, 2025, 6:35pm UTC](https://forum.babylonjs.com/t/increasing-pickable-area-for-sps-particles/56095 "2025-01-21T18:35:45Z")

</div>

Hello everyone, I’ve been trying to increase the area in which SPS Particles are “pickable”, so a little bit outside of the shown mesh. I’m open for multiple solution types of course, as long as the desired result is t…

---

## [Is this a bug - Solid Particles System](https://forum.babylonjs.com/t/is-this-a-bug-solid-particles-system/55408)

<div class="topic-metadata">

**Author:** [@ozgencdev](https://forum.babylonjs.com/u/ozgencdev)\
**Replies:** 2\
**Last updated:** [December 17, 2024, 10:02am UTC](https://forum.babylonjs.com/t/is-this-a-bug-solid-particles-system/55408 "2024-12-17T10:02:07Z")

</div>

Hi, I want to create fireworks using Babylon SPS, but my code isn’t working correctly. I looked at the documentation and found the sps.dispose function, but it doesn’t seem to remove anything from the scene. My expectati…

---

## [SPS freezing on updates](https://forum.babylonjs.com/t/sps-freezing-on-updates/52213)

<div class="topic-metadata">

**Author:** [@Luthem](https://forum.babylonjs.com/u/Luthem)\
**Replies:** 9\
**Last updated:** [July 22, 2024, 7:35pm UTC](https://forum.babylonjs.com/t/sps-freezing-on-updates/52213 "2024-07-22T19:35:03Z")

</div>

Hey, I have a doubt about my implementation on the SPS in my game. The problem: I have a scene, X,Y,Z with blocks. Client asks Server for chunks (16x16) as they move around the world. User freezes a second each time…

---

## [Force Directed Graph for Large Particle Simulation](https://forum.babylonjs.com/t/force-directed-graph-for-large-particle-simulation/18892)

<div class="topic-metadata">

**Author:** [@philworthy](https://forum.babylonjs.com/u/philworthy)\
**Replies:** 6\
**Last updated:** [March 6, 2024, 6:07am UTC](https://forum.babylonjs.com/t/force-directed-graph-for-large-particle-simulation/18892 "2024-03-06T06:07:05Z")

</div>

Hello Babylon community. I’d like to implement a force directed graph in Babylon similar to d3-force-graph. It needs to be super efficient as we’ll be displaying potentially thousands of nodes (each with image textures). …

---

## [How can I get rid of color arrays in SPS?](https://forum.babylonjs.com/t/how-can-i-get-rid-of-color-arrays-in-sps/43925)

<div class="topic-metadata">

**Author:** [@MichalZr](https://forum.babylonjs.com/u/MichalZr)\
**Replies:** 3\
**Last updated:** [September 11, 2023, 6:33am UTC](https://forum.babylonjs.com/t/how-can-i-get-rid-of-color-arrays-in-sps/43925 "2023-09-11T06:33:08Z")

</div>

Hello, I was measuring the memory consumption of my app and I noticed that solid particle system (SPS) takes up a lot. This is understandable, because we use it a lot. But I noticed that there’s a \_color32 array, and I…

---

## [How to get screen position of Solid Particle System Particle that is using billboard mode and a custom pivot](https://forum.babylonjs.com/t/how-to-get-screen-position-of-solid-particle-system-particle-that-is-using-billboard-mode-and-a-custom-pivot/34041)

<div class="topic-metadata">

**Author:** [@Forsaken](https://forum.babylonjs.com/u/Forsaken)\
**Replies:** 8\
**Last updated:** [September 23, 2022, 1:52pm UTC](https://forum.babylonjs.com/t/how-to-get-screen-position-of-solid-particle-system-particle-that-is-using-billboard-mode-and-a-custom-pivot/34041 "2022-09-23T13:52:00Z")

</div>

As the title explains, how would I got around to get this coordinate in screen space? I’ve mostly issues with the fact that having the pivot offset messes up my calculations. I made a small example playground: https://p…

---

## [Expandable sps with invisible dummy particle](https://forum.babylonjs.com/t/expandable-sps-with-invisible-dummy-particle/33096)

<div class="topic-metadata">

**Author:** [@jmheretik](https://forum.babylonjs.com/u/jmheretik)\
**Replies:** 7\
**Last updated:** [September 21, 2022, 4:16pm UTC](https://forum.babylonjs.com/t/expandable-sps-with-invisible-dummy-particle/33096 "2022-09-21T16:16:05Z")

</div>

Hello, we have a following use case: we have an exandable SPS whose shapes need to be generated dynamically on the fly. We also have 1 invisible dummy particle that we dont need but I understand this is the current limi…

---

## [Parenting individual SPS particles to transform nodes](https://forum.babylonjs.com/t/parenting-individual-sps-particles-to-transform-nodes/33615)

<div class="topic-metadata">

**Author:** [@MCArth](https://forum.babylonjs.com/u/MCArth)\
**Replies:** 1\
**Last updated:** [September 2, 2022, 10:44am UTC](https://forum.babylonjs.com/t/parenting-individual-sps-particles-to-transform-nodes/33615 "2022-09-02T10:44:54Z")

</div>

Hi, is there an out of the box way to parent each individual SPS particles to separate transform nodes? (i.e. things in normal space, not inside the SPS where I could use parentId) Or would I need to copy across the pro…

---

## [Expandable SPS with invisible particles draws unexisting particles after rebuilding the SPS](https://forum.babylonjs.com/t/expandable-sps-with-invisible-particles-draws-unexisting-particles-after-rebuilding-the-sps/27392)

<div class="topic-metadata">

**Author:** [@Rafael\_Ceravolo](https://forum.babylonjs.com/u/Rafael_Ceravolo)\
**Replies:** 2\
**Last updated:** [February 8, 2022, 10:55am UTC](https://forum.babylonjs.com/t/expandable-sps-with-invisible-particles-draws-unexisting-particles-after-rebuilding-the-sps/27392 "2022-02-08T10:55:27Z")

</div>

I think there is a problem with SPS when it’s expandable and we have some invisible particles on it. Here are the steps: Create a SPS Add a particle, and set isVisible = false on it Build the SPS Add another particle B…

---

## [Multiple SPS-es do not work on WebGPU](https://forum.babylonjs.com/t/multiple-sps-es-do-not-work-on-webgpu/27031)

<div class="topic-metadata">

**Author:** [@Mikal\_Vratchanski](https://forum.babylonjs.com/u/Mikal_Vratchanski)\
**Replies:** 6\
**Last updated:** [January 25, 2022, 12:58am UTC](https://forum.babylonjs.com/t/multiple-sps-es-do-not-work-on-webgpu/27031 "2022-01-25T00:58:40Z")

</div>

Hello all, I have this playground: https://playground.babylonjs.com/#2FPT1A#466 And at least on my laptop when I try to open it in Chrome Version 97.0.4692.71 (Official Build) (64-bit) or Chrome Canary Version 100.0.4…

---

## [Using imported meshes in SPS](https://forum.babylonjs.com/t/using-imported-meshes-in-sps/25959)

<div class="topic-metadata">

**Author:** [@Azetaris](https://forum.babylonjs.com/u/Azetaris)\
**Replies:** 3\
**Last updated:** [December 10, 2021, 3:45pm UTC](https://forum.babylonjs.com/t/using-imported-meshes-in-sps/25959 "2021-12-10T15:45:33Z")

</div>

Hi everybody! I’m having quite a problem with SPS right now and don’t know what to do with it, so - I want to generate a terrain made of my imported meshes (which then I’ll use as obstacles to player and as navmesh for …

---

## [Expandable and pickable SPS fails picking after multiple adding and removing of particles](https://forum.babylonjs.com/t/expandable-and-pickable-sps-fails-picking-after-multiple-adding-and-removing-of-particles/9978)

<div class="topic-metadata">

**Author:** [@Mikal\_Vratchanski](https://forum.babylonjs.com/u/Mikal_Vratchanski)\
**Replies:** 14\
**Last updated:** [November 9, 2021, 4:36am UTC](https://forum.babylonjs.com/t/expandable-and-pickable-sps-fails-picking-after-multiple-adding-and-removing-of-particles/9978 "2021-11-09T04:36:12Z")

</div>

Hello, I am using Babylon SPS to add and remove particles that are pickable, in most cases, it works great. However, in the following scenario, it starts to mess up the pickedParticles array and picking becomes unrelia…

---

## [Inverted Normals in Solid Particle System](https://forum.babylonjs.com/t/inverted-normals-in-solid-particle-system/23876)

<div class="topic-metadata">

**Author:** [@jdp1g09](https://forum.babylonjs.com/u/jdp1g09)\
**Replies:** 12\
**Last updated:** [September 16, 2021, 6:11pm UTC](https://forum.babylonjs.com/t/inverted-normals-in-solid-particle-system/23876 "2021-09-16T18:11:40Z")

</div>

Hi All, Looking to use a Solid Particle System to distribute trees across a scene. I have a .glb file which is my tree mesh, and another which loads in the tree positions through a collection of transformNodes. In doin…

---

## [Perf: expandable SPS vs disposing and recreating a non-expandable SPS from scratch](https://forum.babylonjs.com/t/perf-expandable-sps-vs-disposing-and-recreating-a-non-expandable-sps-from-scratch/19707)

<div class="topic-metadata">

**Author:** [@george](https://forum.babylonjs.com/u/george)\
**Replies:** 1\
**Last updated:** [April 5, 2021, 4:30pm UTC](https://forum.babylonjs.com/t/perf-expandable-sps-vs-disposing-and-recreating-a-non-expandable-sps-from-scratch/19707 "2021-04-05T16:30:17Z")

</div>

Hi! Thanks as always for the wonderful library + support. I have a use case where when a button is pushed I need to remove every particle in an SPS and add back new particles. The number of particles will vary somewhere…

---

## [Cylinder Emit SPS particles](https://forum.babylonjs.com/t/cylinder-emit-sps-particles/16984)

<div class="topic-metadata">

**Author:** [@Impurity](https://forum.babylonjs.com/u/Impurity)\
**Replies:** 2\
**Last updated:** [December 29, 2020, 7:16am UTC](https://forum.babylonjs.com/t/cylinder-emit-sps-particles/16984 "2020-12-29T07:16:53Z")

</div>

I’m looking to mimic this effect: https://playground.babylonjs.com/#EAZYXZ#1 but with the SPS particles. Any idea on how I can calculate generating solid particles emissions in a cylinder shape? Is there premade emitters…

---

## [Using SPS immutable, stuck with the model mesh with the returned mesh](https://forum.babylonjs.com/t/using-sps-immutable-stuck-with-the-model-mesh-with-the-returned-mesh/16263)

<div class="topic-metadata">

**Author:** [@purehtc](https://forum.babylonjs.com/u/purehtc)\
**Replies:** 3\
**Last updated:** [December 4, 2020, 12:38am UTC](https://forum.babylonjs.com/t/using-sps-immutable-stuck-with-the-model-mesh-with-the-returned-mesh/16263 "2020-12-04T00:38:14Z")

</div>

I built a SPS that is updatable and everything was fine. The resulting mesh included only my particles. I then updated the code to make it immutable since I’m only moving the mesh and not the particles. So I did a prett…

---

## [SPS and custom shader vertex buffer](https://forum.babylonjs.com/t/sps-and-custom-shader-vertex-buffer/15757)

<div class="topic-metadata">

**Author:** [@Mikal\_Vratchanski](https://forum.babylonjs.com/u/Mikal_Vratchanski)\
**Replies:** 4\
**Last updated:** [November 29, 2020, 7:34pm UTC](https://forum.babylonjs.com/t/sps-and-custom-shader-vertex-buffer/15757 "2020-11-29T19:34:25Z")

</div>

Hello, I am using the SPS with a custom shader material, that needs setting of several vertex buffers like background color and etc. Since 4.1 I was recreating the SPS on change as I needed the picking to work and could…

---

## [Node - Link Visualisation with expandable SDS and labels](https://forum.babylonjs.com/t/node-link-visualisation-with-expandable-sds-and-labels/15103)

<div class="topic-metadata">

**Author:** [@aldebaran\_star](https://forum.babylonjs.com/u/aldebaran_star)\
**Replies:** 6\
**Last updated:** [October 23, 2020, 10:47am UTC](https://forum.babylonjs.com/t/node-link-visualisation-with-expandable-sds-and-labels/15103 "2020-10-23T10:47:31Z")

</div>

Hi all, I am looking to push the limits with BabylonJS without stepping into WebGL content at a lower level. The requirements are: many selectable, addable, removable, unique nodes (colour, shape, size, icon). links …

---

## [Rebuilding Immutable SPS](https://forum.babylonjs.com/t/rebuilding-immutable-sps/12899)

<div class="topic-metadata">

**Author:** [@Tyzor](https://forum.babylonjs.com/u/Tyzor)\
**Replies:** 2\
**Last updated:** [July 27, 2020, 6:05pm UTC](https://forum.babylonjs.com/t/rebuilding-immutable-sps/12899 "2020-07-27T18:05:25Z")

</div>

I’m using an immutable SolidParticleSystem to build some static geometry for a scene background. Is there a way to rebuild the SPS and have the position functions calculated again without destroying and readding the par…

---

## [instantiateHierarchy for SolidParticleSystem?](https://forum.babylonjs.com/t/instantiatehierarchy-for-solidparticlesystem/12511)

<div class="topic-metadata">

**Author:** [@Jarred](https://forum.babylonjs.com/u/Jarred)\
**Replies:** 6\
**Last updated:** [July 17, 2020, 9:09am UTC](https://forum.babylonjs.com/t/instantiatehierarchy-for-solidparticlesystem/12511 "2020-07-17T09:09:12Z")

</div>

I’m building a multiplayer game where there’s a large map and users can place things on the map. The things can be 3D models, photos (3D models with a MeshBuilder.Plane & a diffuseTexture pointing to a URL) or Minecraft-…

---

## [Temporarily disabling an SPS](https://forum.babylonjs.com/t/temporarily-disabling-an-sps/11293)

<div class="topic-metadata">

**Author:** [@TheSkrapper](https://forum.babylonjs.com/u/TheSkrapper)\
**Replies:** 4\
**Last updated:** [May 31, 2020, 9:38am UTC](https://forum.babylonjs.com/t/temporarily-disabling-an-sps/11293 "2020-05-31T09:38:23Z")

</div>

Hello fellow devs! I create an SPS at app load and use SPS.mesh.setEnabled(true/false) to toggle it on and off (visually) at a user selection. Does this also disable the SPS.updateParticle type methods from running or …

---

## [SPS invisible particle position update?](https://forum.babylonjs.com/t/sps-invisible-particle-position-update/9772)

<div class="topic-metadata">

**Author:** [@JoeDoe](https://forum.babylonjs.com/u/JoeDoe)\
**Replies:** 2\
**Last updated:** [April 7, 2020, 6:45am UTC](https://forum.babylonjs.com/t/sps-invisible-particle-position-update/9772 "2020-04-07T06:45:17Z")

</div>

I need to make a particle invisible using the isVisible property, but then position updates are not applied afterwards. I’m using a example from the documentation to demonstrate: https://playground.babylonjs.com/#KS9V2E…

---

## [MultiMaterial Solid Particle System](https://forum.babylonjs.com/t/multimaterial-solid-particle-system/6987)

<div class="topic-metadata">

**Author:** [@jerome](https://forum.babylonjs.com/u/jerome)\
**Replies:** 30\
**Last updated:** [December 5, 2019, 7:46am UTC](https://forum.babylonjs.com/t/multimaterial-solid-particle-system/6987 "2019-12-05T07:46:54Z")

</div>

Now solid particles can be given different materials from the other ones. Like for standard meshes, first create your MultiMaterial : var mat1 = new BABYLON.StandardMaterial("m1", scene); var mat2 = new BABYLON…

---

## [Expandable Solid Particle System](https://forum.babylonjs.com/t/expandable-solid-particle-system/5942)

<div class="topic-metadata">

**Author:** [@jerome](https://forum.babylonjs.com/u/jerome)\
**Replies:** 26\
**Last updated:** [November 14, 2019, 4:02pm UTC](https://forum.babylonjs.com/t/expandable-solid-particle-system/5942 "2019-11-14T16:02:14Z")

</div>

There’s an expectation about the SPS (Solid Particle System) that is as old as the SPS itself : the ability to add solid particles in the system once this one is built. Well, waiting for the team to merge the PR, the fe…
