Fabrication of nanopillars can be achieved through various methods, including electron beam lithography, nanoimprint lithography, and chemical vapor deposition. Each technique has its own advantages and limitations. For example, electron beam lithography offers high precision but is relatively slow, whereas nanoimprint lithography allows for high-throughput production but may have limitations in resolution.