#total internal reflection

Light inside water or glass that meets the surface too slantwise can't get out, and all of it is reflected back in. For water into air the limit is 48.6° from straight up, where sin 48.6° = 1 / 1.333 and the light would leave along the surface. Past it Metal's refract gives a zero vector, so a shader can test for it and reflect instead.

1 shader

All techniques · In the glossary