The overall idea is that a setting (currently on by default) would allow a global downsampling in XY resolution for 3D panels of transparent layers during camera movement if the framerate drops below a certain threshold.
All of this is open to change, but currently:
Target FPS is 60
The median framerate over a running 5 frames after a camera move is initiated is calculated
If this median framerate drops below 60, a downsampling rate of 2, 4, or 8 is chosen based on how far from 60 the framerate is.
If a downsample is detected, then during this camera movement, the downsampling rate will never go back above 2
When the camera stops moving, a fresh full resolution drawing is requested after 300ms
Very open to thoughts on exacts and/or the overall strategy. Also happy to try think of some way to avoid downsampling general transparent layers if only VR layers are desired to be downsampled.
The overall idea is that a setting (currently on by default) would allow a global downsampling in XY resolution for 3D panels of transparent layers during camera movement if the framerate drops below a certain threshold.
All of this is open to change, but currently:
Very open to thoughts on exacts and/or the overall strategy. Also happy to try think of some way to avoid downsampling general transparent layers if only VR layers are desired to be downsampled.