question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting PIXI.settings.RESOLUTION greater than 1 breaks the model

See original GitHub issue

Hi,

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:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
goldenratiocommented, Mar 19, 2022

@jnsmalm works well now. Thanks

0reactions
jnsmalmcommented, Mar 18, 2022

I have created a patch v1.3.1, please let me know if this fixes the issue.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found