CacheAsBitmap on resolution > 1
See original GitHub issuecacheAsBitmap
not apply resolution when generate RenderTexture
For devices with resolution > 1 this is produce a pixelation.
Expected Behavior
CacheAsBItmap save pixel density for cached elements
Current Behavior
cacheAsBitmap
reduce resolution for texture
Possible Solution
Put resolution property from renderer to render texture https://github.com/pixijs/pixi.js/blob/dev/packages/mixin-cache-as-bitmap/src/index.ts#L209
Environment
pixi.js
version: >5.0.0- Browser & Version: all
- Running Example: https://www.pixiplayground.com/#/edit/9fx2o5h41xntmYvbVd-Ed
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (5 by maintainers)
Top Results From Across the Web
CacheAsBitmap on resolution > 1 · Issue #7258 - GitHub
cacheAsBitmap not apply resolution when generate RenderTexture For devices with resolution > 1 this is produce a pixelation.
Read more >PIXI.Container - PixiJS API Documentation
The resolution to use for cacheAsBitmap. By default this will use the renderer's resolution but can be overriden for performance. Lower values ...
Read more >PixiJS on Twitter: "One of the new features in v6, is we added ...
One of the new features in v6, is we added a property called "cacheAsBitmapResolution", this is the optional resolution when doing cacheAsBitmap.
Read more >RenderTexture vs CacheAsBitmap - Pixi.js
I have a Container with ~700 sprites in it, each with a filter applied (I have tried both dropShadow and blur). Obviously that's...
Read more >AS3 cacheAsBitmap confusion - Stack Overflow
Best. Edit: additionally: try to investigate something near color depth of your bitmap. As you know, if you can convert your bitmap to...
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 FreeTop 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
Top GitHub Comments
cacheAsBitmap I believe considers PIXI.settings.RESOLUTION when creating the RenderTexture.
@eXponenta do you want to weigh-in on the PR?