Particle Subemitter on GPU particles

Since GPU particles are way more performant than normal particles, I wanted to ask if there’s any chance we will get subemitters on GPU particles?

It seems like an extremely useful feature to create more advanced and performant particles systems.

Or is there any way I can simulate this using shader effects ?

cc @sebavan @Evgeni_Popov

1 Like

There is nothing planned for this and it seems really hard to build in webgl as we currently rely on transform feedbacks, Moving to other kind of storage might not be workable du to the amount of particles.

I can only think of it working with compute shaders but it would limit the feature to webgpu.

cc @Evgeni_Popov if he has an idea.

1 Like

Yes, it would be a bit complicated because it would mean we’d have to reimplement part of the particle system with compute shaders (and keep the js and GPU versions synchronized)…

1 Like

The main reason I was asking for this feature is because gpu particles, at least for my use cases felt very limited without subemitters, on the other hand, their performance was several orders of magnitude higher than normal particles.

That being said, if the requested feature seems unrealistic from a development point of view I can totally understand.

The main issue with GPU particles is that everything needs to be written as a shader and the sub emitterc ode is quite complex

1 Like