how to set the resolution for "vive pro"?

how to set the resolution(PixelDensity) for “vive PRO”?
What are the values for vr.PixelDensity / r.ScreenPercentage ?
I set the vr.PixelDensity to “2” and the graphics get much better, but I’m not sure what is the best value

by this link you can find a formula and useful info:

“Number of pixel drawn = 2 x HMDs ideal
width x HMDs ideal height x
(vr.PixelDensity)²

For example, if you wanted to reduce
the number of pixels to render of your
VR project by about 20% you would set
vr.PixelDensity=sqrt(1-0.2). If you
wanted to increase the number of
pixels to render of your VR project by
about 20%, you would input
vr.PixelDensity=sqrt(1+0.2).”

vr.PixelDensity “1” - this value does not fit for Vive PRO.
I want to know the default value “vr.PixelDensity” for vive pro.
oculus - vr.PixelDensity “1”.
vive - vr.PixelDensity “1”.
ps - vr.PixelDensity “1”.
vive pro - vr.PixelDensity “???”.

Hello ,

What do you mean the value does not fit?

vr.PixelDensity 1 should set the resolution to the default no matter what device you’re using. You will be able to see a difference when setting pixel density to 2 since you’d then be oversampling.

From 4.19 onward screen percentage should be set to 100.

Read formula again. ideal pixels of two lenses x (vr.PixelDensity)² = pixels for drawing.
or for the VIVE PRO vr.PixelDensity = sqrt(4608000 / 2x1440x1600) = sqrt(1) = 1

4608000 - all pixels which vive pro has.

“best” value for graphics depends of you hardware specs and scale of oversampling

It seems to me that UE4 does not see the difference between vive and vive pro and therefore gives me a small-resolution image on the my hmd.
so I want to increase the resolution manually through “vr.PixelDensity”.
vr.PixelDensity 1 - is not suitable for vive pro.
HTC vive 2160х1200 = 2592000px
HTC vive pro 2880x1600 = 4608000px
I think that vr.PixelDensity for pro = 4608000px / 2592000px = 1,7778