Darker corners can come from three places. The optics themselves deliver less light off axis: the further a point is from the center, the more obliquely its light passes through the system, and some is cut off by the edges of lenses and stops. Illumination that is off center or set up wrongly adds its own falloff, which Köhler illuminationLoading... removes. And a camera whose sensor is larger than the image circle the camera adapter delivers loses its corners outright, often as a sharp dark ring rather than a gradual fade.
Only the first is unavoidable. The second is fixed with two adjustments, the third with the right adapter. What remains is handled by flat-field correctionLoading....