Hi,
I'm trying to use the waterMaterial as shown in the tutorial found here: http://doc.babylonjs.com/extensions/Water.
In the tutorial it refers to the waterMaterial.js file located here: https://github.com/BabylonJS/Babylon.js/blob/master/materialsLibrary/dist/babylon.waterMaterial.js.
In the waterMaterial.js file there is a call to BABYLON.serializeAsTexture().
When I use the waterMaterial.js file, my scene (http://n0code.net/bc/csci305/water_scene.html) won't render and complains that BABYLON.serializeAsTexture() is undefined.
I'm using http://cdn.babylonjs.com/2-3/babylon.js and can't find serializeAsTexture() defined in the babylon.js file. Can anyone tell me if I'm using the wrong babylon.js file or where I'm going wrong? Thanks!!!
~Eric