The rays coming from the face of person, sitting across the camp fire, suffer refraction on passing through hot air. Thus, we see apparent image of person. Since hot air is in motion, therefore its optical density changes, which in turn shifts the image rapidly. This rapidly shifting image gives a shimmering effect.