spacesvr icon indicating copy to clipboard operation
spacesvr copied to clipboard

Adaptive resolution based on fps

Open alex-shortt opened this issue 3 years ago • 0 comments

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 avatar Jun 05 '21 01:06 alex-shortt