Light can be treated as a photon particle with energy E = hf…

Light can be treated as a photon particle with energy E = hf. The “h” is a universal constant called “Planck’s constant.”  Hence this formula states that the energy is proportional to the frequency.   Based on your observation of the frequency of light when it passes from air to glass, what happens to the energy of light as it passes from air to glass?