You are given a sentence in English. Your job is to translate the English sentence into Galician.

But some of the diversions he took in optics transformed the way that he modeled light and made him into a much better painter.
Pero algunhas das excursións que fixo pola Óptica transformaron a súa concepción da luz e convertírono nun pintor mellor.