Particles shader

Tried doing with this code.
Point mesh is not getting created.