Gradient galaxy background with planets