I already applied a material to the procedurally generated terrain that has its vertices generated by a perlin noise function in c++, the thing is i want to make the terrain to have different textures based on the height of the vertices. Like the unreal engine terrain that can be multilayered with different textures.