I assume that when light goes through matter, it doesnt really slow down, but the waveform is pushed back due to some resonance with the atoms. EDIT: Interference is probably a better word than resonance here
I also assume that the above effect is responsible for the refraction index of materials.
But according to these assumptions, light rays should curve more as they go deeper through matter shouldnt they ? In other words that effect should be cumulative with the thickness of matter the light does through?
However light doesnt bend at different angles if it goes through thicker glass. So where did I go wrong?