I am working on a project revovling around procedural terrain generation. I currenly have 2 seperate parts, one which generates my Voronoi Diagram, while the other deals with the generation of the whole terrain. The terrain is currently generated in chunks, as it is too large to be generated on its own. The polygons, which are generated by my Voronoi Algorithms are close in size to a signle terrain chunk. I want a seperate chunk to be generated for each polygon, as I want the Perlin Noise values to be determined the generated polygons. In the current impementation my Terrain Chunks have a form of a square, hence I can not really stick a polygon in. How would you go about it?
I was initially trying to get my texture into a polygon shape, but it the Textures in unity have width and height, duh, so that did not exactly work out. I also considered seperating each Terrain chunk into a set of polygons with the same properties which would form the square, the this ruins the whole purpose of using Voronoi.
I would be happy to include my code, but I don't think it is partically valuable in this case.
As a note: My Voronoi implementaion returns a list of polygon objects with the respective corner points, edges, centroids, etc.
Thanks in advance :)