Moved leg work on determining procedural water height to the shader program.