A new study shows agrivoltaics can cut maize yields in humid regions but boost soybean production in drier climates.