The speed of light in a medium depends on the optical density of the medium.
How does the speed of light determine the optical density of a medium ?