arvidsson / Polygon-Map-Generation

Polygon Map generation based on Red Blob Games Article

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polygon Map Generation

Polygon Map

Polygon Map generation based on this article: Polygonal Map Generation for Games
Also used this library for the Voronoi generation: csDelaunay
And this for some Editor Buttons: NaughtyAttributes

I tried to adapt some algorithms so it's easier for me to understand, even if that meant sacrificing perfomance. That means that many parts of the code, while still very similar, may have signficant changes. The map is rendered to a texture using a Compute Shader.

About

Polygon Map generation based on Red Blob Games Article


Languages

Language:C# 70.8%Language:ShaderLab 24.9%Language:HLSL 4.3%