Most mineral grains are thinner at their edges than in the middle, i.e. they have a lens shape and as such they act as a lens.

If nmin > noil the grain acts as a converging lens, concentrating light at the centre of the grain.

If nmin < noil, grain is a diverging lens, light concentrated in oil.