How can I blend a moon/planet (textured sphere) into the background (procedural sky texture)?
In the compositor, use a Color Mix node to mix the moon and the background. Set it to Add mode, so that only the bright areas affect the background.