Notifications
Article
Terrain Generation in Shoot and Build
Updated 18 days ago
5
0
Terrain Generation
In Shoot and Build we wanted Terrain to be auto generated on each run. We were inspired by the article
https://www.reddit.com/r/gamedev/comments/6e7t7i/red_blob_games_alternative_to_voronoi_layouts/di8me0m/
and also wanted to start off with generating a Voronoi Diagram. After finding out that most free available Voronoi Solutions had errors in edge cases or were hard to read and modify, we decided to write our own implementation. We started of with the simplest Delauny Triangulation method we could find
... and transformed it into a Voronoi Diagram

Then we Marked some of the fields as "Water" and built up a water-distance-field. This enabled us to assign a "Region" to every cell
Then we rasterized those regions onto a regular Grid, that we used for the terrain-heights and terrain textures. Finally we generated some Region-SpecificProps.
And thats it. Here are some results.

Plush Rabbit Studio
Intermediate - Programmer
2
Comments