Hm, 0.5 seems to be 180 degree, so why don’t you just devide the whole thing through 2
CurrentHealth / MaxHealth is for example 200 / 400 = 0.5, and 400 / 400 = 1.0
With 400 as MaxHealth. If you want ot have maxhealth at 0.5 you just need to divide it again through 2.
I also thought so, but unfortunately this is not so easy… scalar parameter value 0.5 is 180 degrees but the pivot of clipping mask is the center of the image. So result is incorrect. The pivot of clipping mask should be offset to the left side of my image, not into the center like actually.
You could just use a full circle, so that it will fit the Mask again.
Make a full circle and only use half of it.
Or you need to adjust the UV of your halfcircle. Since you are only using half of the mask, just use the “Texture Coordinates” Node and plug it into the half circle texture. Now set UTiling to 2.
Hm, it’s hard for me to give a the perfect advice, because i never really worked with the material editor till now. Can’t you create your own grayscale Mask but only vor 180°? Then it would match your texture :X
I can’t imagine something different from rescallen with UV or directly creating mask and texture alligned to each other.