Something Something Splatmap-Voronoi

Solo project made for the Acerola Gamejam 0.

Gameplay

In this game, the player has to avoid the lava by staying on the safe moving area. The movement the safe area is going to take is previewed right before the level in a minimap in front of the screen, after which the level starts.

Download the game from Itchio


This project makes use of Voronoi diagrams to generate the terrain the player stands on. The different points generated create polygons that are assigned a black-white gradient using perlin noise. After that, the x,y values of said perlin noise get an offset which moves the colors move around. The black-white scale gets converted to lava and neutral ground textures making use of Splatmapping. At the same time, depending on the black-white gradient the terrain mesh updates in real time, creating an ever changing level layout.

This project had the purpose of working with Unity shaders, applying Splat mapping, and dynamically updating meshes.