Create a mesh from a height map in Babylon.js 2.0
Example of creating a mesh from a height map in Babylon.js 2.0
// Create the ground for our sea floor.
var groundMaterial = new BABYLON.StandardMaterial("groundTex", scene);
groundMaterial.diffuseTexture = new BABYLON.Texture("images/floor.png", scene);
// Generate a mesh using a loaded from JPG file height map.
var ground = BABYLON.Mesh.CreateGroundFromHeightMap("groundHeight", "images/ground.jpg", 100, 100, 250, 0, 10, scene, false);
ground.material = groundMaterial;
ground.position.y = -48;