It works correctly if I do this during initialization. But on runtime, in the update(dt) function, it doesn’t affect the color. Do we have do some sort of update on the ParticleSystem, like what we do when we modify a material?
Yeah, I think all the graphs are converted into textures to use in the shader.
I don’t think there is an “API” way to update the graphs at runtime. If you call the internal methods entity.particlesystem.rebuild() or entity.particlesystem.rebuildGraphs()` that should work, though I can’t guarantee those methods will remain in the future…