Hi, apparently width and height are only used in texture options when "src is an array or typed array or null." Would be cool if dimensions could als be specified for a cleanly scaled up SVG. What I do to achieve this manually is creating a canvas in the given dimensions, then use drawImage to draw SVG to canvas and then create the texture from the canvas, like this:
Hi, apparently width and height are only used in texture options when "src is an array or typed array or null." Would be cool if dimensions could als be specified for a cleanly scaled up SVG. What I do to achieve this manually is creating a canvas in the given dimensions, then use
drawImage
to draw SVG to canvas and then create the texture from the canvas, like this: