This energy diagram will show you how. But the problem is that the Stefan-Boltzmann Law is derived from the integral of the Planck function for a single source of radiation. It may be used to show why direct solar radiation to Earth's surface cannot support a global mean surface temperature greater than about 233K or -40°C. But it cannot be used for the sum of solar and