Support for gradients that run across a polyline

Avatar
  • updated
  • Under Consideration

I'd like to be able to create a fade-out effect on an arbitrary polygon where the gradient goes across each of the polygon line segments outward along their normal.

Image 33

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

I'd have to think carefully in how I design this. essentially - this means each polyline point would have two colors instead of one, which, has some implications both for the component UI as well as the immediate mode side of things.

I'll consider it!

Avatar
Jan Schneider

This would be Extreamly helpful!

also to make lines fade out at their edges, if you want to achieve a less graphical look.