You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix issue 1354395 where the right eye was shifted in stereo mode (#5789)
This commit Unity-Technologies/PostProcessing@08b1319 forced a reset on the projection matrix in PreCull and PostRender to avoid issues when switching on/off the TAA.
This is fine except that it doesn't reset the projection matrix to the device's projection matrix which seems to trickle down somewhere and result in some systems getting the wrong projection matrix.
This fix consist in forcing the device's projection matrix onto the camera to make sure that everyone is using the correct matrix if we happen to be in stereo.
PostRender doesn't need to copy from device because the Render step of the TAA PostProcessLayer performs that action.
PostRender doesn't need to deal with unjittered because that's probably only used in TAA.
// copy the left eye onto the projection matrix so that we're using the correct projection matrix after calling m_Camera.ResetProjectionMatrix(); above.
0 commit comments