Shaders with indexed texture files to use for Instancer


As a better fidelity sprite we often use polygons mapped with textures in Maya dynamics instancer.

Do we have to use a separate shader for these polygons?

Or can we have just one shader which picks a different mapped file based on the particle index for example using mel script / node connections .