PIXI v4 cacheAsBitmap issue
See original GitHub issueNot related to https://github.com/pixijs/pixi.js/issues/2831 although I have experienced that as well.
I’ll see if I can create a fiddle for this later on today, but what I think it is:
var container1 = new PIXI.Container();
var container2 = new PIXI.Container();
container2.addChild(someSprite1);
container2.addChild(someSprite2);
container2.cacheAsBitmap = true;
container1.addChild(container2);
container1.alpha = 0;
After this container2 doesn’t seem to display no matter what the alpha is of container1.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
PIXI v4 cacheAsBitmap issue · Issue #2883 · pixijs/pixijs · GitHub
I'll see if I can create a fiddle for this later on today, but what I think it is: var container1 = new...
Read more >CacheAsBitmap - pixi.js
Pixi.js usage examples. ... CacheAsBitmap. ";";. Change editor theme : ... 4. // create the root of the scene graph. 5. var stage...
Read more >PIXI.Container - PixiJS API Documentation
If cacheAsBitmap is set to true , this will re-render with the new resolution. Default Value: null. cullable boolean inherited.
Read more >@pixi/mixin-cache-as-bitmap - npm
Mixin to allow caching container and its children to a bitmap texture. Latest version: 7.0.4, last published: a day ago.
Read more >cacheAsBitmap - Pixi.js - HTML5 Game Devs Forum
This issue is based on webgl limitations. There's no antialias in custom framebuffers. For more information, search "antialias" both in this ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@paladizm Thanks for the fiddles. I never got round to writing them today.
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.