Skip to content

Conversation

fabien-unity
Copy link
Collaborator


Purpose of this PR

Make sure the depth buffer is properly copied for each views so that devices like Oculus or Varjo can make use of them for better reprojection or Mixed Reality usage.


Testing status

Locally tested with HDRP template on Win10 (d3d11) with the Varjo Analytics debug tool as described in the bug (https://fogbugz.unity3d.com/f/cases/1286908/).


Comments to reviewers

Custom backport of #3200

Copy link

@ryanhy-unity ryanhy-unity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given Fabien already verified the Varyo issue I just smoke tested a new project using these HDRP changes. checked that depth and stereo rendering looked reasonable in renderdoc and everything looked good. Tested using Mock HDM in instancing mode.

@sebastienlagarde sebastienlagarde merged commit 3e8aa97 into 7.x.x/release Jan 22, 2021
@sebastienlagarde sebastienlagarde deleted the 7.x.x/hd/fix-xr-depth-copy branch January 22, 2021 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants