An optoelectronic device chip, and a method for making the chip, are
disclosed. The chip comprises a device substrate, an optically
transparent upper substrate, and a composite spacer layer which includes
an adhesive material and a plurality of particles dispersed in said
adhesive material. The distance between the device substrate and the
upper substrate is controlled by the thickness of the composite spacer
layer so that the variation is within the depth of focus of optical
system.