I am trying to use BJS’s dynamic terrain (very attractive stuff indeed!).
I’d like to have different textures, depending on the height of the terrain, e.g. sand at the lowest level, then grass, then rock, then snow at the highest parts of the terrain. I’d also like to have rock where the slope is steep.
The dynamic terrain is simply a mesh (an updated ribbon). There’s no specific feature about its texturing, except the dynamic UVs computation in order to shift the texture with the terrain.
If you want to mix textures according to the terrain altitude, you could probably use the same shader than the WorldMonger demo one : Babylon Engine for HTML5