Thanks, @roland, but it seems it can’t work inside
var advancedTexture = BABYLON.GUI.AdvancedDynamicTexture.CreateFullscreenUI("UI");
using this topic: How to mask GUI image I’ve found another solution; this is exactly what I want:
but there are two issues:
- The arc starts to fill from the right side; I want to fill the image from the center using arc.
- The rectangle starts filling the image from the center, but I want to fill the image from the right or left or top or bottom.