This disclosure describes, in one aspect, a method that generally includes combining a silica precursor and a biocompatible polymer under conditions effective for the silica precursor and the biocompatible polymer to form a gel, at least partially dehydrating the gel, and rehydrating the gel. This disclosure also describes a corneal implant prepared by any embodiment of the general method described herein.