Multi-color gradients

  • updated

Designers love to define gradients not only by a start and end color but instead by a gradient with more than 2 colors not equally distributed and I have to implement them :D
Is there a way to define a gradient as shown below?

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
Freya Holmér
  • Under Consideration

possibly - the tricky part with custom gradients is that they require texture data, which has a lot of implications when it comes to materials, asset management and batching/instancing, so there's a lot of infrastructure to design in order to get that to work

that ring from the trailer in particular is actually a polyline - with its per-point colors set according to a huestrip