This addon adds a DiscreteTexture
resource that builds on top of GradientTexture
.
It provides this new method:
discrete() -> ImageTexture
which uses theGradient
resouce to produce anImageTexture
of sizeVector2(width, 1)
. This can be previewed in the Inspector as shown in the image below