Is there any good method to get an appropriate resolution? (not too blurry to too slow…)
I can see that the resolution varies quite a lot from device to device, and also depending on where I have deployed the code (e.g. high resolution on localhost, but low when running it on the server)
I know that I could set AdaptToDeviceRatio to true (BABYLON.Engine(canvas, antialiasing, null, true)) but this would slow down the app too much on some devices.
A thought I have is to automatically detect the fps and adjust engine.setHardwareScalingLevel( ) untill an appropriate fps has been reached.
Is there a better method?