I think it may have been modeled in a 3D program, and the texture is placed on the object, with transparency settings and light diffuse settings, so the stars do not get darkened by shadow in the render, except for dark objects that is not open space which is set to be transparent.