Hi all!
I am experimenting with textures using a svg file as basis. The main rational is that the svg’s are generated from polygons on a back-end and sent to the client. I want to have the files for the textures in a cache and have small size if possible.
From the examples I did, I understand the svg is transformed to a bitmap in Babylon for rendering. Hence the scalability of svg is not maintained. That should not be a problem for my usage as limited scalability is requried.
But for now, I am not able to control the resolution of the sampling from the svg to the bitmap.
As an example, you can see the pixelization effect in this PG: https://playground.babylonjs.com/#4LZRS#77
Would you know where I have to look at to increase the sampling?
Any other advise on how to proceed? Would you rather use another file format with resolution being set at the file encoding (accepting the increase in file size)?