A method of: directing an exposing light through an optical diffuser; directing the diffused light though a photomask having transparent areas corresponding to a gray-tone pattern; directing the masked light onto a photoresist material on a substrate; developing the photoresist to produce a three dimensional structure in the photoresist.