A microlens array with reduced or no empty space between individual
microlenses and a method for forming the same. The microlens array is
formed by patterning a first set of microlens precursors in a
checkerboard pattern on a substrate. The first set of microlens
precursors is reflowed and cured into first microlenses impervious to
subsequent reflows. Then, a second set of microlens precursors is
patterned in spaces among the first microlenses, reflowed and cured into
second microlenses. The reflows and cures can be conducted under
different conditions, and the microlenses may be differently sized. The
conditions of the reflows can be chosen to ensure that the focal lengths
of microlenses are optimized for maximum sensor signal.