Cellular Texture

Here's the result of my cellular texture implementation explained by blackpawn. There are four basic cell type models. The results are completely tileable. The whole process consists of generating random points and playing around with the distances between points in order to get the pixel colours.



In order to create textures like that, you can use this file. The output will always be a 24bit TGA file. Usage info follows :

Usage: cell <points> <width> <height> <type> <col1> <col2> <file>
<points> - number of cells
<width> - width of texture
<height> - height of texture
<type> - cell type [0-3]
<col1> - color in hex, like FFFFFF
<col2> - color in hex, like 000045
<file> - texture filename