The terrain (terrain) Height map generation method in unity can be summarized in 3 categories: manual Drawing
Manually draw the terrain directly from the tools provided by Unity's terrain, so that it can be exported to a height map in raw format, this is nothing to say, no message ... PS and other tools generated
There are already ready-made tutorials that are not described in detail. The old rule portal is as follows:
PS Generation Height Map
Of course you can also use other build tools to generate the height of the raw format on the line. Adjust height map by noise
The noise fills the height map, can create the terrain by moving the graph, then attach the texture, can produce the more realistic terrain.
Here noise can be obtained through the Libnoise library, recommended to see the document (Libnoise)
. NET version connections (. NET libnoise)
General idea: Provide data through the noise source, then generate a height map, generate terrain in unity, let the post-assignment height map, the process is completely controlled by the code.
The entire detailed process can be see (libnoise generate height graph raw)
Currently summed up these three kinds, of course, there may be other, if you know welcome message exchange.