Sculpting the electromagnetic spectrum for enhanced renewable energy generation