effects of total internal reflection