You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a little confused about AdaptiveDpr and how it works. In the documentation (https://github.com/pmndrs/drei?tab=readme-ov-file#adaptivedpr) it says that AdaptiveDpr sets the DPR of the Canvas based on the Canvas performance min/max settings.
Drop this component into your scene and it will cut the pixel-ratio on regress according to the canvas's performance min/max settings.
Is this actually how it works? I checked out the source of AdaptiveDpr and it doesn't seem as if min/max settings are regarded at all.
I'm using the following Canvas code and regardless of the min/max settings I enter, the calculated DPR stays the same. Do I have to somehow set the initial DPR? And if so, how?
What is your question:
I'm a little confused about AdaptiveDpr and how it works. In the documentation (https://github.com/pmndrs/drei?tab=readme-ov-file#adaptivedpr) it says that AdaptiveDpr sets the DPR of the Canvas based on the Canvas performance min/max settings.
Drop this component into your scene and it will cut the pixel-ratio on regress according to the canvas's performance min/max settings.
Is this actually how it works? I checked out the source of AdaptiveDpr and it doesn't seem as if min/max settings are regarded at all.
I'm using the following Canvas code and regardless of the min/max settings I enter, the calculated DPR stays the same. Do I have to somehow set the initial DPR? And if so, how?
Thanks!
The text was updated successfully, but these errors were encountered: