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
I found a problem on a game I’m developing using CanvasRenderer that sometimes blend mode works (in particular, the screen mode), sometimes it doesn’t.
Calling PIXI.utils.canUseNewCanvasBlendModes() on http://pixijs.github.io/examples/ (which is running Pixi.js 3.0.6) yields an unreliable result:
46.0.2490.80 (64-bit)
Mac OS X El Capitan
Since I don’t plan to support Internet Explorer right now, my workaround is to do this:
I suspect that the problem may be that the Image is loaded asynchronously (i.e. in another thread) but sometimes it decodes fast enough to be used synchronously. Maybe, creating an image data from scratch instead of loading from PNG files may be able to fix this.
The text was updated successfully, but these errors were encountered:
I found a problem on a game I’m developing using CanvasRenderer that sometimes blend mode works (in particular, the screen mode), sometimes it doesn’t.
Calling
PIXI.utils.canUseNewCanvasBlendModes()
on http://pixijs.github.io/examples/ (which is running Pixi.js 3.0.6) yields an unreliable result:46.0.2490.80 (64-bit)
Mac OS X El Capitan
Since I don’t plan to support Internet Explorer right now, my workaround is to do this:
I suspect that the problem may be that the
Image
is loaded asynchronously (i.e. in another thread) but sometimes it decodes fast enough to be used synchronously. Maybe, creating an image data from scratch instead of loading from PNG files may be able to fix this.The text was updated successfully, but these errors were encountered: