How to get stereo scene depth in VR?

I am trying to get the scene color and depth of both eyes in a post process material using the ‘SceneTexture’ node. The color values for both eyes and the depth value for the left eye are correct while the depth value of the right eye is broken.

Does anyone know the right way to get the stereo scene depth values? Thanks!

Wrong depth value for the right eye:

313223-annotation-2020-09-11-181240.png

Color values for both eyes are correct using this node:

313224-annotation-2020-09-11-181256.png

1 Like