Sunlight can be absorbed, reflected , or scattered before it reaches Earth's surface. About 30 percent of sunlight hits Earth directly, and 22 percent is filtered through clouds . Dust particles short wavelengths, which causes the sky to appear blue. Earth radiates heat into the atmosphere, which traps the heat in gases, causing the greenhouse effect .