For total internal reflection to happen, light must travel from a medium object of higher density to a medium of lower density. To make sure that total internal reflection will happen in water, then the light must originate from glass or diamond before entering water.