I have a light (cone) generating spheres and I want them to be different colours so I am piping in a changing gradient colour as a diffuse map to the generator. What I would like is for the birth of the particle to keep its colour the same and subsequent particles to change. What is happening is that all particles change colour at the same time as the gradient changes.
But I want to see if I can get the particles to get there colour from an image source. Like if I attach an emitter to an image it will emit particles of that image colour and change as that image changes. The particles that have already been emitted don’t change colour though.
If I use an image to generate the particle then the colour comes from where on that image the particle is emitted. If that colour changes the particle colour is changed only when it is emitted.
If I use a light to emit and I feed it a diffuse map then the particle colour will change but it will continue to change even after it has been emitted.
I think this video demo will help explain:
Top left is the image I am using. I am swinging the hue all the way around.
The Particle Generator that is coming from the image can be seen top right and when a flesh colour particle is emitted it stays that colour even when the flesh tones are changed.
The Particle Generator that is coming from my light (cone) is at the bottom and you can see that the colour of the particles changes as the image changes. Even after they have been emitted.
I am guessing that this is expected behaviour and I just need to not use a light to emit for this situation.
You can use an extended bicubic and make it into a parachute shape, scale it down and use it like a light as the particle generator. The handles of the extbicubic will adjust the cone shape.
This will allow you to have particles that have the color from the image of the generator. Unlike the particles having the same color all over, they will be like pixels of the image.
You can play around with the color parameter and introduce per particle color variance when they are generated.
You can use the color functions @milanesa linked to and change the colour of your particles over time.
Let me know if these help. Or if you have a specific effect you’re looking for.