Fix WaterObject TODO: Retrieve sampler numbers from parameter handles, see r22631.

It is better to use data from shader.
If the order of the samplers in the shader is changed, this code will work correctly.