Circle mask in PlayCanvas

Hi,

I’m trying to make a circle around an image, that can fill in like a percentage that is going up. This to indicate how much percent of the votes a player has. In unity, there is something called “Fill Mode”. this component has a slider where you can set a value between 0 and 1. and set the fill mode to “Radial 360”. this will apply a mask on the image and fill it in a Circular way. in this case, it will only show a part of the circle that i have an image from.
Is there an easy way to do this in PlayCanvas?
and if not, what other way is there to achieve this?

Can anyone suggest on how to do this?
Thanks.

Hey, this may be of help:

https://playcanvas.com/editor/scene/960638

1 Like

hi @Leonidas, this works fine in browser. But in VR mode it is not working.

@Leonidas, https://playcanvas.com/editor/scene/1325308 can you help me fix this issue?

1 Like

Discussion continuing here: