Skip to content

[HDRP] Fix issue with capture callback (now includes post processing results) - #3035

Merged
sebastienlagarde merged 2 commits into
hd/bugfixfrom
HDRP/fix-rg-recorder
Jan 8, 2021
Merged

sebastienlagarde merged 2 commits into
hd/bugfixfrom
HDRP/fix-rg-recorder

Conversation

@pmavridis

Copy link
Copy Markdown
Contributor

Purpose of this PR

After the render graph transition, the recorder was not capturing the post process effects when used in "targeted camera" mode. This was also affecting AOV beauty pass, as described in an internal slack thread:
https://unity.slack.com/archives/CG9RAGC56/p1608620121006700

The fix looks simple, I just had to pass the proper buffer to the capture callback function.
The behavior now matches what we had before render graph.


Testing status

  • I have installed the recorder from the package manager, set the mode to "targeted camera". Recording now includes the post process effects.
  • I have also used the AOV recorder to capture the beauty pass. Post-processing/TAA was visible in the output frame, as expected.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants