First you need to edit the texture so everything is black besides the part you want to be lit.
Save the image as a bmp the same resolution as your planet texture.
Drag the texture to the utils file in the Orbiter directory.
Open the ptext tool and the program will tell you the rest.