how to set a texture as the weight mapping for particles?

how do i do this?