I’m trying to get the WaterMaterial work, but it doesn’t seem to. I’ve check all docs and bugs reports I found, but nothing.
I import it from @babylonjs/materials
I can create it with no problem, but when I call assign (such as: waterGround.material = myMaterMaterial) it says following error.
You difinitely right, it was versioning issue.
I was using es6 modules (not Babylonjs es6). So I now switched to webpack then using Babylonjs es6, and everything is gold.
Thanks for your help.