Everyone knows that the light changes direction in passing from one medium such as air to the other, this phenomenon does change the refractive index. Now, in the law of Bragg, 2dsin (theta) = lambda omit the refractive index even when radiation changes from one medium such as air to another (such as glass) What could be the explanation to obviate the contribution refractive index?