Spectrum of Light from a Hot Object