how i can to generate a sphere map by shaders

i want to generate a low quality sphere map by transforming the vertexes into a vertex shader, how i can do it?, I think it can do with a projection matrix, i don’t care about quality, the map size will be 128