Pattern Texture Generator
The Pattern Texture Generator is one of the texture generation editor tools that allows you to create a wide variety of procedural pattern textures directly inside Unity.
Open it via:
Gamelogic → Tools → Texture Generation → Pattern Texture Generator
Overview
The tool supports the following pattern types:
- Checkerboard
- White Noise
- Multi-Channel White Noise
- Color List Noise
- HSL Color Map
- Sine Grid
Each pattern offers its own set of controls, detailed below.
How It Works
- Select the Pattern Type.
- Adjust the Pattern Settings.
- Review the Preview (updates automatically).
- Click Save Texture to export as PNG.
Texture generation tools explain the workflow and global settings.
Pattern Types
Below are all available pattern types and their configurable properties.
CheckerBoard
Generates a two-color tiling pattern.
| Control | Range | Description |
|---|---|---|
| Color 1 | 🎨 | Color of the first tile. |
| Color 2 | 🎨 | Color of the second tile. |
| Cell Dimensions | Integers ≥ 1 | Pixel width and height of each checker cell. |

White Noise
Generates pure grayscale or color noise by interpolating between two colors.
| Control | Range | Description |
|---|---|---|
| Color 1 | 🎨 | Lower bound for noise interpolation. |
| Color 2 | 🎨 | Upper bound for noise interpolation. |

Multi-Channel White Noise
Generates independent white noise for Red, Green, and Blue, with channel isolation options.
| Control | Range | Description |
|---|---|---|
| Value Range (Min) | [–1, 1] | Minimum sampling range for noise values. |
| Value Range (Max) | [–1, 1] | Maximum sampling range for noise values. |
| Channel View | {All, Red, Green, Blue} | Choose which channel(s) to visualize. |

Color List Noise
Creates noise where each pixel is randomly assigned either a background color or a color chosen from a customizable list.
| Control | Range | Description |
|---|---|---|
| Background Color | 🎨 | Base color for most pixels. |
| Foreground Colors | 🎨* | Editable list of possible foreground colors. |
| Foreground Probability | [0, 1] | Probability that a pixel uses a foreground color instead of the background. |

HSL Color
Generates an HSL-inspired color sheet:
- Horizontal axis: Hue
- Vertical axis: Lightness (Black → Hue → White)
| Control | Range | Description |
|---|---|---|
| (No additional controls) | – | Texture is fully determined by UV mapping. |
!(../images/texture_generation/hsl_color.png)
Sine Grid
Creates a sine-wave interference pattern using sin(x) * sin(y).
| Control | Range | Description |
|---|---|---|
| Frequency | [0, ∞] | Number of oscillations across the texture. |
| Color 1 | 🎨 | Color for low values (0). |
| Color 2 | 🎨 | Color for high values (1). |
