TIR occurs when light passes from rarer medium to denser medium.
When a ray of light passes from a denser medium to a rarer medium,