This PR introduces a forked version of DrawFullscreenPass that works in Unity 2022. Unity 2022 requires the use of RTHandle when working with camera targets. Unity 2021 doesn't have RTHandle based camera targets (hence the need to fork the code). The 2022 code is a lot smaller which is one good thing about this update.
Before:
After:
Verification
As a reviewer, it is possible to check out this change locally by using the following
commands (substituting {PR_ID} with the ID of this pull request):
Overview
This PR introduces a forked version of DrawFullscreenPass that works in Unity 2022. Unity 2022 requires the use of RTHandle when working with camera targets. Unity 2021 doesn't have RTHandle based camera targets (hence the need to fork the code). The 2022 code is a lot smaller which is one good thing about this update.
Before:
After:
Verification