Lales.Charles Posted August 23 Share Posted August 23 Hi, Is there a way to know the current render resolution used with a VR headset, e.g. HTC Vive Pro 2 or Varjo XR-3? It is not that simple to understand impact of: SteamVR > settings > video > render resolution > custom with x% ViveConsole > settings > display settings > manual with performance to extreme VarjoBase > headset > resolution quality > manual with very low to highest Also, is there a proper way to evaluate such render settings without VR activated? E.g. render_virtual_resolution set to 2x or 4x the render per eye? Regards, Charles Link to comment
sweetluna Posted August 23 Share Posted August 23 Hi Charles, SteamVR/Varjo and other VR runtimes usually provide our renderer with final resolution we should render with, so changing render resolution% in either of the runtimes causes our renderer to use a bit different resolution than HMD is designed with, meaning higher or lower visual fidelity depending on the scaling chosen in the UI. To get current VR render resolution you can use VR::getHMDResolution(VR::VIEWPORT_TYPE_CONTEXT) and VR::VIEWPORT_TYPE_FOCUS for Varjo XR-3 when using Peripherial Rendering mode in order to get resolution of focus viewports. I am assuming you want to evaluate overall scene performance? render_virtual_resolution doesn't affect VR rendering at the moment but you can use render_vr_emulation instead which doesn't require VR since it's just an engine running it's stereo pair render logic with specific resolutions and with Fov of 110. Hope this helps! 1 May RenderDoc/Nsight Graphics/Intel GPA bless you Link to comment
Recommended Posts