That bit of trickery works because the light can be manipulated when the material is shaped with features about as big as the light's wavelength - less than a millionth of a metre for light that we can see.
BBC: Invisibility cloaking benefits from crystal-clear idea