Hello all,
I am trying to make a Sprite appear round. Currently I am applying Texture to a round Mesh and then I make the mesh Billboarded, however I want to make the parent of the Mesh move and rotate and that is not supported. From the start I wanted to use Sprites for that as I imagine it would be more performant, so now is a great time to make the switch. However, I got stuck on making the Sprite render as a circle, instead of a square.
I am getting the source images from a server and ideally I would like to avoid to having the change the source images there. I come from Unity and there with the Image component, it is rather easy to achieve this effect by using a default ‘mask’ sprite. Is there something similar in Babylon? I checked the docs and the forum, but surprisingly couldn’t find anything, maybe I missed something.
Let me know if the question is clear enough or you would like me to cook up a Playground example to illustrate it better. Thanks in advance!