How can I access to the material of SPS particles?

Hello everyone

I want to know is it possible to access the material.diffuseColor of each SPS particles separately?

here is a simple PG :

In your example, the SPS uses a single material (as it’s a single mesh). Every particle being just a part of this mesh, it has no individual material as per se. They all share the SPS material.
That said, you can obviously change each particle color (ie vertex color).

If you really need to manage the materials at the particle level, you could then use a SPS with MultiMaterial … at some performance cost.

Particle colors :

Particle materials :

SPS full doc :


Hi @jerome
Thanks a lot for your explanation :pray: :pray: :pray:

1 Like