Skip to content

[skip ci] Add test scene for transparent depth pre & post pass #978

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

Merged
merged 1 commit into from
Jun 18, 2020

Conversation

RemyUnity
Copy link
Contributor

Add the follow test scene for transparent depth pre & post pass

image

It should cover all material and master node types that support this feature.

Each "test" is setup in this way :

  • Two meshes of overlaping quad, green is the tested material, red is a regular transparent
  • One opaque object going through them
  • The bottom quad is in the far depth of field blur zone, the middle one is in focus, and the top one is in the near blur zone
  • The Pre & Post quad are cut diagonaly (like the blue opaque object) with prepass only on the top/left half and postpass on the rest

Yamato: (Select your branch):
https://yamato.prd.cds.internal.unity3d.com/jobs/902-Graphics/tree/HDRP%252Ftests%252Fpre-post-pass

Tests are running on yamato to generate reference images, don't merge yet.

As a bonus, texts are now ordered to be after post process, and I also added an arra placer utility
@RemyUnity RemyUnity added the HDRP label Jun 18, 2020
@sebastienlagarde sebastienlagarde marked this pull request as ready for review June 18, 2020 23:27
@sebastienlagarde
Copy link
Contributor

Yamato is green

@sebastienlagarde sebastienlagarde merged commit 2c622a3 into HDRP/staging Jun 18, 2020
@sebastienlagarde sebastienlagarde deleted the HDRP/tests/pre-post-pass branch June 18, 2020 23:28
@RemyUnity RemyUnity mentioned this pull request Jun 19, 2020
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.

2 participants