GPUParticleSystem.clone does not work if using any gradients. The reasons being
- It’s not copying over gradients or textures
- You have to call start on the source system for any of the textures to be created at all. (and the method which does it is huge so I can’t hack around it to make it fit my needs)
(If you’re using clone, there is a good chance you’re wanting to set up a master instance of the PS to build copies quicker than full initialization). I.e. multiple smoke/explosion, instances
https://www.babylonjs-playground.com/#U63T4S#8
Open console call window.startClonedSystem()
to see the clone not copying gradient.
Call window.source_particle_system.start()
to see intended behavior