1. An adaptive illumination system, implemented by computing functionality, comprising: a processor for implementing computing functionality for modules comprising: a depth determination module configured to generate a depth map for a scene, said depth map having a plurality of depth regions that each correspond to one or more regions of the scene having similar depths; a pattern composition module configured to generate a composite illumination pattern comprising a plurality of individual parts that are selected and combined based on the respective depth regions in the depth map; and a projection device configured to illuminate the scene with the new composite illumination pattern.