New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIXI.Texture.fromCanvas with CanvasRenderer doesn't work #11
Comments
Thanks for this, I will be working on renderTextures next so that will fix this issue for sure :) |
it seems the issue has been caused from missing pass to img |
however, CanvasRenderer has another issue which caused from drawImage() and frame of PIXI.Texture drawImage() doesn't work when large size was applied as argument here are demos
|
Is that because the frame is bigger than the image being drawn itself? |
that's right. so when frame was set, it may be better to check sizes |
Sounds like a plan! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I created a CanvasRenderer and tried to save a big rendered map to texture to optimize it a bit since it was a static map. However it only seemed to work when I was using a WebGLRenderer.
Made a demo http://jsfiddle.net/3SVGY/2/
Just switch the renderer to Canvas to see that it doesnt work
The text was updated successfully, but these errors were encountered: