Lateral displacement varies depending on the following factors:
1. Medium’s thickness: The lateral displacement is more for a thicker medium (e.g. a thicker glass block).
2. The incident angle: The lateral displacement is more for a greater angle of incidence.
3. Refractive index: The lateral displacement is more for a higher index of refraction.
4. The light’s wavelength: Since the wavelength is inversely proportional to the index of refraction, lateral displacement is also inversely proportional to the light’s wavelength. Lateral displacement is more for a light with less wavelength.