We typically paint our ceilings slightly off-white so light doesn't reflect that much off of it, making it look less apparent. The key here is the black painting, because when light comes in at an oblique angle from a window, it starts reflecting and showing imperfections.