We consider one-dimensional propagation of quantum light in the presence of a block of material, with a full account of dispersion and absorption. The electromagnetic zero-point energy for some frequencies is damped (suppressed) by the block below the free-space value, while for other frequencies it is increased. We also calculate the regularized (Casimir) zero-point energy at each frequency and find that it too is damped below the free-space value (zero) for some frequencies. The total Casimir energy is positive