Water demo

An updated version:
sendspace.com/file/e5e8iz

The concept is the same, just the code has been moved to a separate file.

Just import the WaterAnimator class and call
WaterAnimator(waterNode, textureStage, texScale, scrollTime, bufferSize)
Where:
waterNode is the water model (NodePath)
textureStage is the name of the normal map texture stage - maybe the name was a poor choice (string)
texScale - well just a texture scale (default 1)
scrollTime -the time it take to scroll the UVs, the lower the number the faster the movment (default 6)
bufferSize - size of the buffer (default 512)

I’m no good making up API that make sense, sorry.

Oh, and its free to use, WTFPL license, but I wouldn’t mind if I got a bit of credit anyway :wink: