The simpler way to make a water shader is by using a glass node and setting the IOR value (Index Of Refraction, a number specifying the capacity of a medium to refract the light passing through it) to 1.33
, and actually, this should be enough; by the way, although physically correct, this does not work well in every light condition or particular situation. A better approach is to use the glass shader mixed with another "specularity" node and, in some cases, also with the aid of a texture.
Start Blender and switch to the Cycles rendering engine. Select the cube and scale it at least six units on the z axis (press S followed by Z, digit 3, and hit Enter; the default cube is already of 2 units, so 2 X 3 = 6). Then scale down to the half its width (press S followed by Shift + Z, digit 0.500, and hit Enter).
Go in edit mode, and press Crtl + R and scroll the middle mouse wheel to add four horizontal cuts to the cube.
Select the upper and the bottom...