Sunburn-producing rays are filtered out by glass and to a great extent by heavy clouds, smoke, and smog; however, they may still pass through light clouds, fog, or 30 cm of clear water, potentially causing severe burns.