User defined patterns can be produced with the Matrix generator function.

A 16x16 grid is used to render a texture consisting of rectangles, triangles or pipes. Not all patterns work with all Mapping Modes and will produce an empty texture. For example the Pipes mode only works with horizontal and vertical arrangements (like shown in Image 3).

Make a repeating pattern on the texture with the Tiling values.