If reflection is to be total, there must be no diversion of the evanescent wave. Suppose, for example, that electromagnetic waves incident from glass to air at a certain angle of incidence are subject to TIR. And suppose that we have a third medium whose refractive index is sufficiently high that, if the third medium were to replace the second (air), we would get a standard transmitted wavetrain for the same angle of incidence. Then, if the third medium is brought within a few wavelengths of the first, where the evanescent wave has significant amplitude, the evanescent wave is effectively refracted into the third medium, giving non-zero transmission into the third medium, and therefore less than total reflection back into the first medium. As the amplitude of the evanescent wave decays across the air gap, the transmitted waves are attenuated, so that there is less transmission, and therefore more reflection, than there would be with no gap; but as long as there is "some" transmission, the reflection is less than total. This phenomenon is called "frustrated total internal reflection", abbreviated "frustrated TIR" or "FTIR".