Kombinerad partikelbaserad hydraulisk erosion och rutnätsbaserad termisk erosion för procedurell terränggenerering
Pontus Prüzelius · KTH Publication Database DiVA (KTH Royal Institute of Technology) · 2026
Procedural terrain generation is a method used for creating digital landscapes using algorithms instead of by hand. These landscapes, however, often lack features that make them appear more realistic. Simulating erosion on the terrain can increase the perceived realism, but this can be computationally expensive and realism often has to be balanced against performance. The performance of erosion algorithms can be improved with GPU parallelization. This thesis studies how a Perlin noise-based procedural terrain generator can be integrated with particle-based hydraulic erosion and grid-based thermal erosion. The two erosion methods are implemented both sequentially on the CPU and in parallel on the GPU using compute shaders. Additionally, the thesis also explores a new combined erosion method where batches of hydraulic and thermal erosion are alternated. The methods are evaluated visually and also by performance, measuring the execution time across varying terrain sizes and simulation parameters. The GPU performance speedup is also measured. The results show that hydraulic and thermal erosion introduce distinct features that are not present in the initial Perlin noise-terrain. The combined method introduces terrain features from both methods, but is mostly similar in structure to hydraulic erosion. Performance measurements show that the methods scale differently with terrain size and workload, with thermal erosion scaling proportionally and hydraulic erosion also being dependent on the behavior of individual droplets. All methods benefit from GPU parallelization, with thermal erosion benefiting more. Overall, the thesis show that a procedural terrain generator can be integrated with multiple erosion algorithms to improve visual realism while still maintaining acceptable performance when GPU parallelization is used. Future work can integrate the two erosion methods more tightly and further optimize the GPU implementations.