On optimal shading for arrays of irregularly