Anyone made work "Unity 2021.2 + HDRP + VR" ?

Hi,
-For testing DLSS and Ray tracing in VR, I’ve been trying to setup a test scene (the simplified default HDRP scene) with my Valve Index.
-But even if i tried with OpenXR and Steam OpenVR i can’t get the VR game to launch.
-In fact nothing append, without any error.

I ear DLSS was now supported with VR but how exactly ?
So, i want to know if it’s even possible.

I know Steam VR work with 2021.2 SRP **

Thanks !

We are using OpenXR, and DLSS works out of the box. We experience about 1.5x performance boost with DLSS performance mode in VR (4k / HP Reverb G2), and the antialiasing with DLSS is amazing!

3 Likes

Thanks, it seam OpenXR work with the Valve Index,
It seam a bug was freezing my Unity when i start Steam VR first…
So now i let Unity start Steam VR automatically.

Thank you! This is very valuable information!

Have you ran into anti aliasing issues when single pass instanced is enabled? We can’t use DLSS at the moment with single pass due to the jagged artifacts it produces, see

https://issuetracker.unity3d.com/issues/dlss-xr-hdrp-dlss-creates-anti-aliasing-artifacts-with-single-pass-and-multi-pass-instancing

I have not experienced this problem, we use openxr and singlepass instanced. Using Unity 2021.2.0b13

1 Like

I’ve figured it out, its because we didn’t have “Camera Jitter” enabled in the XR settings. When it is disabled, the jitter x/y that DLSS needs is zeroed out, causing the jaggy edges.

7555909--934327--upload_2021-10-8_9-42-10.png

2 Likes

Didnt know that, but had it enabled - so probably why it worked out of the box :smile:

1 Like