Skip to guide
Rainbow Lab/Documentation

Shape Foundry

Sprites, textures and live images

Assign a Sprite, Texture2D or 2D RenderTexture under Image source. Choose Stretch, Fit, Cover or Tile sizing. Set native size uses texture pixels or the sprite's pixels-per-unit relative to the Canvas.

Artwork keeps its original colours. Tint with fill multiplies them by the fill colour or gradient. Fill alpha still applies, and the component's Tint affects the entire graphic.

Shadow follows image is enabled by default. It follows the artwork's transparency, including cutouts, rather than its rectangular bounds. With both Softness and Spread at zero, it is a shifted copy of the artwork without an added rim. Disable this option to shadow the procedural shape instead.

Enable Border follows image to draw an inside border along the artwork's alpha contours, including holes. Its width, colours and gradient are controlled by Border.

Tiling

Tile sizing repeats the source within the shape. Tile size controls the repeat's width and height in RectTransform units. Automatic sizing preserves aspect and caps the longest side at 64 units. Use native size restores the source's full native repeat size. Reset tile size returns to automatic sizing. Positive Tile offset moves the pattern right and up.

Texture import settings are not changed. Use artwork designed to repeat if its edges need to join. Dense sprite patterns can increase the effective tile size to stay within Unity UI's mesh limit; the Inspector shows that size. Exceptionally complex sprite meshes fall back to stretching. A Full Rect sprite mesh avoids this restriction.

Sprite atlases and tight meshes retain their UVs and geometry. Read/Write is not required. Sprite nine-slicing is not supported. Pointer detection follows the procedural shape, not individual transparent pixels in the artwork.

Optional Icon Foundry integration

With a compatible Icon Foundry version installed, Image source > Choose Icon Foundry icon... opens its picker. Confirming an icon imports a persistent sprite and assigns it to the selected shapes. Multi-selection, Undo and prefab overrides are supported.

Older Icon Foundry versions provide a library shortcut; import a sprite there and assign it manually. Without Icon Foundry, a dismissible store link is shown. Detection is local and makes no account or network request. Icon Foundry is sold separately.