| The disclosure provides a method for manufacturing an electromagnetic device, which includes the following steps. A material for adjusting a refractive index and/or an absorption coefficient is added to a main material and mixed to form a composite material for the electromagnetic device, in which the refractive index and/or the absorption coefficient of the composite material are different from the refractive index and/or the absorption coefficient of the main material. The composite material is used to form an optical component for the electromagnetic device. |