What is the difference between shallow and flat affect?

Quality and degree. Shallow affect refers to people who do not show much range in emotion; they rarely if ever feel intense moods, either highs or lows. Flat affect refers to a near-complete absense of affect: the person simply does not show an emotional response even under pretty extreme conditions such as the loss of a loved one.