cables is under heavy development.
There might be one or another bug, please let us know about it!

op id:01380a50-2dbb-4465-ae80-86349b0b717a
texture containing a colour gradient that can be altered with an editor

summary (oneliner)

This op allows the creation of custom gradients. Click the edit button to get the UI to edit gradient. More colours can be added to the gradient.
Click on the small squares at the bottom and then the larger square to change the colour of that gradient point.
Drag the small squares around to change the relationship between the different colours.
Click once in the thin line at the bottom to add extra squares/gradient points.



youtube id


related ops


Gradient (Number)

Click this to open the editor for the gradient. See docs for a more in depth explanation.

Smoothstep (boolean Number)

Enable smoothstep on changes in gradients.

Size (integer Number)

The resolution of the gradient in pixels. 256 is a good default value

Direction (string Number)

X or Y render the texture horizontally or vertically


Texture (Object)

The texture out


Caught a mistake or want to contribute to the documentation?

Edit this documentcancel save

Examples using GradientTexture

Public Patches using GradientTexture