Setting PIXI.settings.RESOLUTION greater than 1 breaks the model
See original GitHub issueHi,
I stumbled upon an issue (not sure If it’s actually an issue)
Here is the reproducible repo, https://github.com/goldenratio/pixi3d-poc-72
Setting, PIXI.settings.RESOLUTION = 2;
breaks the model, but when setting it to 1, it works fine.
https://github.com/goldenratio/pixi3d-poc-72/blob/main/src/index.ts#L12
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Setting PIXI.settings.RESOLUTION breaks iOS Webview #7115
I was able to fix it by setting PIXI.settings.RESOLUTION = window.devicePixelRatio . This worked while I was testing in browser on my mac, ......
Read more >PIXI.settings - PixiJS API Documentation
User's customizable globals for overriding the default PIXI settings, such as a renderer's default resolution, framerate, float precision, etc.
Read more >PIXI.settings - PixiJS: Documentation
User's customizable globals for overriding the default PIXI settings, such as a renderer's default resolution, framerate, float precision, etc.
Read more >Downscaling while maintaining original resolution - Pixi.js
I have noticed that scaling textures with fractional values less than 1 (making them smaller than the original) and rotation both make use...
Read more >Let's Talk About Text, PixiJS - Medium
PIXI.BitmapText has always been great for dynamic text, ... the following fields: chars for defining the character set that's pre-rendered, ...
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
@jnsmalm works well now. Thanks
I have created a patch v1.3.1, please let me know if this fixes the issue.