Game dev
Saved & recent

Voronoi

Also called: Voronoi diagram

Related terms: cellular noise, Worley noise

Scatter some points, then give every pixel to its nearest point. The result is a pattern of cells, one per point. It looks like cracked mud, scales, stone paving or soap foam.

Using the distance to the nearest point as a brightness gives cellular noise, common in water caustics and organic textures. In world generation the cells become regions, biomes or countries.

Further reading
The Book of Shaders: Cellular Noise
CellsDistance to nearest

View in the full Game dev collection