-
Couldn't load subscription status.
- Fork 857
[HDRP] Make custom post process template work and use cmd.Blit by defaukt #5202
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
|
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. HDRP 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (note I have not read the doc, leaving that to Vic!)
Reviewed the changes in this PR and made some small improvements to this section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs changes done :)
Purpose of this PR
Updated the custom post-processes template to use cmd.Blit instead of HDUtils.DrawFullscreen which is more intuitive for users.
Also, the custom PP shader template was not working with cmd.Blit because of the missing Property scope in the shader and mismatching source texture name.
I also updated the doc about the usage of cmd.Blit and HDUtils.DrawFullscreen

Testing status
Tested that the greyscale example in our doc works as expected with cmd.Blit. Also replaced one of the custom post-process in our test project to use Blit() instead of HDUtils.DrawFullscreen.
https://yamato.cds.internal.unity3d.com/jobs/902-Graphics/tree/hd%252Ffix%252Fcustom-post-process-blit/.yamato%252Fall-hdrp.yml%2523PR_HDRP_trunk/7800994/job