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
My current alternative is to create canvastexture.drawframe to merge dynamic atlas。
const canvas = this.scene.textures.createCanvas("key", width, height);
canvas.drawFrame("drawKey", texture.firstFrame, x, y);
const url = canvas.canvas.toDataURL("image/png", 1);
this.scene.textures.addBase64("key", url);
canvas.destroy();
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
Version
Description
Cannot use renderTexture.snapshot in canvas rendering mode,
The canvas inside canvasrender is undefined
Example Test Code
https://codepen.io/akeboshi1/pen/eYdvgry
Additional Information
The text was updated successfully, but these errors were encountered: