Is the speed of light constant as it passes through transparent materials?

no it bends