Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

ResetStereoProjectionMatrices in Postprocessing breaks custom projection matrices

Discussion in 'Image Effects' started by peaj_metric, Jun 19, 2020.

  1. peaj_metric

    peaj_metric

    Joined:
    Sep 15, 2014
    Posts:
    145
    Camera matrices are reset mutliple times in PostProcessLayer.cs which makes it impossible to use custom projection matrices with the Post process stack v2.
    This camera matrix reset seems to be necessary to reset changes made by camera jitter for TXAA but the camera matrices will be reset regardless of even using TXAA.
    Could you please remove this matrix reset from the post process stack or at least make it optional?
    Right now my only option is to maintain a fork of the PP repo with the ResetStereoProjectionMatrices and ResetProjectionMatrix calls commented out.