Search Unity

RenderToCubeMap in HDRP won't create correct stereoscopic result

Discussion in 'High Definition Render Pipeline' started by taiwansoundlab, Mar 16, 2020.

  1. taiwansoundlab

    taiwansoundlab

    Joined:
    Feb 25, 2019
    Posts:
    1
    Hi, I've been tried to record a 360 stereoscopic video with Unity Recorder in HDRP. Unfortunately, from HDRP version 7.0.0 to 7.2.0, none of them work correctly with stereoscopic result. I've been traced the code of Unity Recorder and found out it use RenderToCubeMap(https://docs.unity3d.com/ScriptReference/Camera.RenderToCubemap.html) for 360 stereoscopic capture. So I also tested a bit with a simple script just calling this function. But for all the testing I made the cubemap of left eye and right eye are always the same image (no disparity), except when I use default unlit shader in hdrp environment. The attached file is the image result.

    test.png sceneview.PNG

    I also found this thread is discussing the same issue (Oct 24, 2019)
    https://forum.unity.com/threads/stereoscopic-capture-value-not-working.766526/

    just want to know where can I trace this issue and is there a chance that it'll be fixed in recent update? Thanks.
     
    Last edited: Mar 16, 2020