what are the effect distance on the brightness of star as seen on earth