How light travels through glass