Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

PP stack v2.1.7 half horizontal resolution in VR

Discussion in 'Image Effects' started by S-e-e-D, Jul 23, 2019.

  1. S-e-e-D

    S-e-e-D

    Joined:
    Feb 21, 2017
    Posts:
    3
    Hi,

    There is a bug while using the PostProcessing package in VR : the horizontal resolution is cut in half even if there is no AA or effect applied. (unity 2019.1.0f2, PPstack 2.1.7, VR singlepass or multipass)

    By changing the ligne 595 in PostProcessLayer.cs from:
    context.GetScreenSpaceTemporaryRT(m_LegacyCmdBuffer, tempRt, 0, sourceFormat, RenderTextureReadWrite.sRGB);
    to :
    context.GetScreenSpaceTemporaryRT(m_LegacyCmdBuffer, tempRt, 0, sourceFormat, RenderTextureReadWrite.sRGB, FilterMode.Bilinear, context.width*2, context.height);

    The render will be as it was before PP.
    GetScreenSpaceTemporaryRT is likely the culprit and does not give the correcte resolution for VR single pass applications


    Hope it will be fixed soon.
     
    Last edited: Aug 14, 2019