You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:The text was updated successfully, but these errors were encountered: