Good day!
Can you tell us the approach to do this type of progress bar? (notice state 0 and 1)

We can not use filled texture, because we want non-square fill tip while progress.
We have one big ui atlas (2k x 2k) with all the elements.
This atlas has a material/shader etc.
We think the right way is to mask progressbar fill somehow but it seems that we can't because all UI sprites is inside single atlas (single mat, single shader). And if we will have shader with mask support for that atlas it will mask all other elements besides progressbar fill.