-
Notifications
You must be signed in to change notification settings - Fork 840
Fix invalid viewport being set during post process pass when using Pixel Perfect Camera #6014
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…xel perfect camera
Hi! This comment will help you figure out which jobs to run before merging your PR. The suggestions are dynamic based on what files you have changed. URP Depending on the scope of your PR, you may need to run more jobs than what has been suggested. Please speak to your lead or a Graphics SDET (#devs-graphics-automation) if you are unsure. |
It appears that you made a non-draft PR! |
Fix verified on branch: 2022.1.0a12.1604 |
Merged on staging branch #6085 |
…xel Perfect Camera #6014 commit 8630c77 Author: Kenny Tan <kenny.tan@unity3d.com> Date: Thu Oct 14 14:28:46 2021 +0800 Fix invalid viewport being set during post process pass when using pixel perfect camera # Conflicts: # com.unity.render-pipelines.universal/CHANGELOG.md # com.unity.render-pipelines.universal/Runtime/2D/Renderer2D.cs
…xel Perfect Camera #6014 (#6170) commit 8630c77 Author: Kenny Tan <kenny.tan@unity3d.com> Date: Thu Oct 14 14:28:46 2021 +0800 Fix invalid viewport being set during post process pass when using pixel perfect camera # Conflicts: # com.unity.render-pipelines.universal/CHANGELOG.md # com.unity.render-pipelines.universal/Runtime/2D/Renderer2D.cs
Purpose of this PR
Why is this PR needed, what hard problem is it solving/fixing?
Fixes https://fogbugz.unity3d.com/f/cases/1363763/ where the frame doesn't scale correctly when post process is enabled with pixel perfect camera.
Testing status
Describe what manual/automated tests were performed for this PR
Tested on 2022.1.0a13
Open project in FB case.
Ensure changing resolution of game view doesn't create visual artifacts.
Ensure changing ReferenceResolutionX and ReferenceResolutionX on Pixel Perfect Camera component doesn't create visual artifacts.
Comments to reviewers
Notes for the reviewers you have assigned.