Docs/Textures
Ramp Maker
Turn a gradient into a lookup texture, imported the way a lookup has to be.
Turns a gradient into a lookup texture.
Open it with .
Author a gradient. For a 2D lookup, author two and they are blended across the other axis. For a toon ramp, turn on Stepping and set the number of Bands and their Softness. Then set Length and Thickness and save with Save To Folder, which writes to the folder selected in the Project window, or with Save As....
The preview fills its frame edge to edge. You only see the checkerboard behind it where the gradient's alpha drops below 1.
Import settings
Unity's default import gets a lookup texture wrong in five ways, and the tool fixes each one:
- Wrap is set to clamp. On repeat, the last band bleeds into the first.
- Mipmaps are off, since they average the bands together.
- Compression is off, because it smears hard band edges.
- There is no power-of-two rescale, which would shift every band.
- Linear Data is on, so the shader reads the exact values you picked.
To apply a ramp made here to any greyscale image, use Gradient Map in the Texture Editor.
