in accordance with both the intensity of the flash source and the distance of the flash source from the object