When light rays enters in a glass slab