Here my heightmap shader with realtime deformation of a preview terrain. The normals are a bit off, because I calculated them inside the pixelshader with the help of the heightmap. This runs with maximum fps. It's textured through a simple triplanar texturing shader.