A method of forming an optical device comprising the steps of: providing a
substrate comprising a first electrode capable of injecting or accepting
charge carriers of a first type; forming over the first electrode a first
layer that is at least partially insoluble in a solvent by depositing a
first semiconducting material that is free of cross-linkable vinyl or
ethynyl groups and is, at the time of deposition, soluble in the solvent;
forming a second layer in contact with the first layer and comprising a
second semiconducting material by depositing a second semiconducting
material from a solution in the solvent; and forming over the second
layer a second electrode capable of injecting or accepting charge
carriers of a second type wherein the first layer is rendered at least
partially insoluble by one or more of heat, vacuum and ambient drying
treatment following deposition of the first semiconducting material.