The speed of light *in vacuum* is said to be constant. In a medium, the speed depends on the density of the material, and even on the [direction of propagation](https://physics.stackexchange.com/questions/301154/how-does-epsilon-mu-1-c-m2-change-when-mu-or-epsilon-permeability/301156#301156).