How do you create a progress bar without mask support?
Hi, thanks for the asset. I've just started to play with it so apologies if I'm missing something obvious.
I'm trying to create a simple progress bar with a background and fill using 2 lines. The problem I'm running into is that when the line is very short the end caps don't play nice which is understandable.
Here's my attempt just by shrinking the fill length:
What I'd like to achieve with shapes is something like my implementation with sprites but this requires a mask which I haven't figured out a way to get to work with shapes:
In my sprite implementation I'm just translating the fill and letting the mask do the rest. The problem with that is if you get two progress bars close together they overlap hah...
Is there a good way to implement that with shapes?
Thanks!
currently there's no masking support in Shapes, as it's potentially a bit of a can of worms to open up stencil buffer, especially as they are used in different ways across render pipelines and projects
I'll consider this mostly as a question and not a feature request! feel free to open topics if you want something more specific.
There is, however, a hack you can do to solve it in this case~
it's a bit of a mess because of the round caps, but:
Hope it helps!