Adding ability to specify local weights on parts of the shadow target image.