Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adaptive resolution based on fps #47

Open
alex-shortt opened this issue Jun 5, 2021 · 0 comments
Open

Adaptive resolution based on fps #47

alex-shortt opened this issue Jun 5, 2021 · 0 comments
Labels
enhancement New feature or request performance make things run faster

Comments

@alex-shortt
Copy link
Collaborator

using the regress api from drei, would be cool to add functionality to automatically increase or screen reduce resolution based on the current fps

you would have to add a bit of dampening so it doesn't rapidly change, and definitely heir on the lower side before moving your way up

would look into this: https://github.com/pmndrs/drei#adaptivedpr

One thing it mentions is that directly setting dpr might be costly compared to using a pixellation postprocessing effect which would have the same effect but be faster to switch. might require a new rendering pipeline though, so maybe not the best idea

@alex-shortt alex-shortt added enhancement New feature or request performance make things run faster labels Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance make things run faster
Development

No branches or pull requests

1 participant