Photonic potential for TM waves.