Home › Forums › Bug Reports and Feature Requests › Verge 3.8 appInstance.renderer.setPixelRatio(..) downscaling picture?
Tagged: display, lod, pixel ratio, quality, resolution, retina
- This topic has 5 replies, 3 voices, and was last updated 4 years ago by
precismo.
-
AuthorPosts
-
2021-10-04 at 9:05 am #45794
precismoCustomerHi Verge,
We have noticed that after update to Verge 3.8, our images become noticably more blurry on both Android na IOS mobile devices. Further investigation showed that same settings for appInstance.renderer.setPixelRatio(window.devicePixelRatio) works differently – please refere to screenshot for 3.8 from Android (IOS is experiencing same behavior).
I would expect that setting pixel ratio to native device resolution would lead to very sharp image (+ slow performance) but it seems that 3.8 is doing further downsampling. This was not happening in previsous Verge versions where image was sharp.
Im afraid that if we set pixel ratio artificially further up above window.devicePixelRatio, all our repositories on older engine versions will start crashing.
May I ask how to solve this? Is this new feature of underlying Three.js?
Thank you very much in advance,
Petr from Precismo
Attachments:
2021-10-04 at 9:19 am #45796
Alexander KovelenovStaffHi,
It’s possible you forgot to apply pixel ratio for postprocessing pass as well which is now required:// already have maximum pixel ratio in HiDPI mode if (!appInstance.useHiDPIRenderPass) appInstance.renderer.setPixelRatio(factor); if (appInstance.postprocessing) appInstance.postprocessing.composer.setPixelRatio(factor); // to update possible post-processing passes appInstance.onResize();2021-10-05 at 12:26 pm #45852web
CustomerSorry to hjack this thread. But does that change also affect the “app.enableSSAA(1);”. Because it doesnt seem to work anymore?
2021-10-05 at 1:54 pm #45854
Alexander KovelenovStaff2021-10-05 at 1:55 pm #45855
Alexander KovelenovStaff2021-10-06 at 3:52 am #45950
precismoCustomerThank you very much Alexander, this fixed the issue!
-
AuthorPosts
- You must be logged in to reply to this topic.

