Get vertex index inside a shader

Hi,

Is it possible to get the vertex index from the mesh vertex array in a shader script ?

[EDIT] more details on what I’m doing : I’m working on a particle system, so my mesh has 4 vertices per particle, and I need to know for each particle if I’m dealing with vertex number 1,2,3 or 4

For a particle, you can probably work it out from the UV coordinates?

yep… but no ^^
all my custom particles will not have the same UV coordinates

You could set UV2 then?