A simultaneous vertical and horizontal self-patterning method for deep three-dimensional microstructures