Skip to content

Conversation

remi-chapelain
Copy link
Contributor

@remi-chapelain remi-chapelain commented Apr 30, 2021

Purpose of this PR

After a discussion with a user about this feature, a new test to avoid a possible future regression.

The test have two part, the first part, the camera render a path traced scene to a render texture with alpha (what is happening in the background)
Then this texture is used as input for the base color of on an unlit alpha clipped material used on a plane (foreground).
A checker is behind that planed to make the alpha-clipped front planed more obvious.

Needed to add a new HDRP asset to support R16G16B16A16 color buffer format.

image

Also, I've tidy up some other pathtracing scene for clarity. (Removed duplicate dir light for stability of test)


Testing status

image


Comments to reviewers

¯\(ツ)

@remi-chapelain remi-chapelain marked this pull request as ready for review April 30, 2021 14:15
@sebastienlagarde sebastienlagarde merged commit 1dcd42c into master Apr 30, 2021
@sebastienlagarde sebastienlagarde deleted the hd/add-pt-alpha-automated-test branch April 30, 2021 17:00
sebastienlagarde pushed a commit that referenced this pull request May 2, 2021
* add-pt-alpha-automated-test

* Tidy up 5001 scene
sebastienlagarde added a commit that referenced this pull request May 5, 2021
* [HDRP][DXR] Add coverage for lighting full screen debug mode in DXR Tests Projects (#4391)

* 5 new lighting debug mode scene

* RTAO + SSShadows

* build settings

* Light Cluster scene

* Contact shadows correct captures using BackBuffer

* ContactShadow scene

* forgot meta files

* Add coverage for path tracer alpha channel support (#4393)

* add-pt-alpha-automated-test

* Tidy up 5001 scene

* Disable DXR XR test (#4403)

* Add support for lighting full screen debug mode for HDRP tests #4367

* Fix automated tests

* upgrade path tracing alpha test

* 5001 updated unreadable image

* disable DXR XR 2005

Co-authored-by: Rémi Chapelain <57442369+remi-chapelain@users.noreply.github.com>
Co-authored-by: Remi Chapelain <remi.chapelain@unity3d.com>
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