Materials modification by electronic excitation