Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

LWRP for VR forced depth pass question

Discussion in '2019.1 Beta' started by fortgreeneVR, Nov 14, 2018.

  1. fortgreeneVR

    fortgreeneVR

    Joined:
    Sep 5, 2018
    Posts:
    41
    Hi,
    I noticed that the LWRP for VR forces a depth pass because of problems resolving multi sample textures in stereo.

    Could you explain what the problem is?
    Do you have an ETA for a fix?

    Is it reasonable to alter the current workaround for those choosing not to use MSAA like this
    (type in bold face is the change):

    ....\Library\PackageCache\com.unity.render-pipelines.lightweight@5.0.0-preview\Runtime\DefaultRendererSetup.cs, line 113:

    requiresDepthPrepass |= renderingData.cameraData.isStereoEnabled && (renderingData.cameraData.msaaSamples > 1);
     
unityunity