https://playground.babylonjs.com/#VMZ7Q5
I know there are some issues getting SVG’s to distort in-browser, but it looks like there are developments with properties such as preserveAspectRatio="none"
which should allow for this. Is there any possibility of BABYLON using this if the browser supports it? I don’t know how the BABYLON GUI works under the hood, so perhaps what I’m asking isn’t possible, but it’d be nice to have raster sources and SVG’s behave in the same manner.
My use-case is creating dynamic and scalable custom UI components, and I’d like to stretch ‘middle’ SVG images of things like slider bars in the x-axis without having to tile them. If this isn’t possible at the moment… any other suggestions?
Love the GUI component btw, it’s super useful.