Coupling particles textures and position I am generating a set of particles that follow a streamline and I would like the particles to change color according to their position along the line. The tricky part is that the streamline has a image texture shader and I would like the particles to be matching the texture.


Is there a simple way to do so? 

Many thanks in advance!
Particles change color based on age / lifetime. I have left in transparency.  You can determine if position corresponds to that number.