Hello, i create many terrains with a c++ function (the function reads different parameters and create the terrain), those terrains have different height in different point(different z ), i need to apply different texture as a z value interval. for example 0-100, 100-300…etc but i do not apply texture in c++ and
how can i apply textures using c++? and , how can i apply diferrent texture as z value?
thank you.