Add a Gradient option to the component's color mode

Avatar
  • updated

This would make it easy to implement custom multicolor gradients for line segments and similar cases such as the colored circles in the example.

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

I'm not sure which shape you're talking about, but, presume you mean all, this is complicated unfortunately, because it will either make the shaders very expensive or start using texture assets which require lots of asset management on top of breaking batching

duplicate of https://shapes.userecho.com/en/communities/1/topics/68-multi-color-gradients

Avatar
Legend X
Quote from Freya Holmér

I'm not sure which shape you're talking about, but, presume you mean all, this is complicated unfortunately, because it will either make the shaders very expensive or start using texture assets which require lots of asset management on top of breaking batching

duplicate of https://shapes.userecho.com/en/communities/1/topics/68-multi-color-gradients

Thanks for your reply, I mean those simple shapes like Line, Polyline, Disc, I don't know if it's difficult to implement