Search Unity

Video Async Reprojection - performance question

Discussion in 'Daydream' started by holgersch, Dec 1, 2017.

  1. holgersch

    holgersch

    Joined:
    Dec 1, 2017
    Posts:
    1
  2. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    I believe so. The API for Daydream requires us to setup the video surface on VR initialization which means there is no dynamic way to enable/disable it. I wonder if you can keep it enabled and just render it with a clear color to have it blend out? I haven't tried that but you can give it a shot and let us know.

    Other than that, you have to exit VR, disable the feature using VRDaydream.enableVideoLayer and then enter VR again to disable the video surface.