Additionally, the invention is a method of homogenizing an input beam having an arbitrary spatial energy distribution at a first plane into an output beam with a preselected spatial energy distribution at a second plane while minimizing the intensity variation caused by breaks between sub-holograms.