Skip to content

Conversation

remi-chapelain
Copy link
Contributor

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

Purpose of this PR

After finding this issue, I discovered that we didn't have coverage for the lighting full screen debug mode.
This PR will allow us to add automated test to cover Lighting Full Screen Debug Mode and prevent future regression of the aforementionned issue and avoid doing it by hand in the smoke test phases.

image


Testing status

  • I tested that the new lighting full screen debug mode was working in a ray tracing tests (RTR) ✔️
  • Also tested that the two tests that were using the DebugViewController.cs script in HDRP Tests were still passing ✔️

Comments to reviewers

I needed to add two accessible variables in DebugDisplay.cs, not sure if this can be done differently.

@github-actions github-actions bot added the HDRP label Apr 28, 2021
@remi-chapelain remi-chapelain requested review from a team and sebastienlagarde April 28, 2021 16:06
@remi-chapelain remi-chapelain marked this pull request as ready for review April 28, 2021 16:06
@sebastienlagarde
Copy link
Contributor

Just to be sure I understand, this is just exposing the API, then we will add test in a separete PR?

@remi-chapelain
Copy link
Contributor Author

remi-chapelain commented Apr 29, 2021

Just to be sure I understand, this is just exposing the API, then we will add test in a separete PR?

Yes, waiting for merge to add the tests

Copy link
Contributor

@TomasKiniulis TomasKiniulis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be good to me. Nice extension!

@sebastienlagarde sebastienlagarde merged commit d983ccd into master Apr 29, 2021
@sebastienlagarde sebastienlagarde deleted the hd/add-lighting-fullscreen-debug-mode-support branch April 29, 2021 09:06
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>
sebastienlagarde added a commit that referenced this pull request May 29, 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

* Added information about ray tracing light culling (#4392)

* Added ray tracing light culling section and moved a couple of things around

* Update Ray-Tracing-Getting-Started.md

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>

* Added more pages to help users with runtime usage #4394

* Disable DXR XR test (#4403)

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

* Update CHANGELOG.md

* Fix automated tests

* upgrade path tracing alpha test

* 5001 updated unreadable image

* update failing test scene

* Update failing scenes

* Changing geometry in 708/711 tests

It was not appearing for some reasons

* Tentative fix

* Debug 'debug test scene'

* Debug

* new DebugDisplaySettings

* revert static variable to private

* Disable debug test scenes and reverting changes

Co-authored-by: Rémi Chapelain <57442369+remi-chapelain@users.noreply.github.com>
Co-authored-by: Lewis Jordan <lewis.jordan@hotmail.co.uk>
Co-authored-by: Remi Chapelain <remi.chapelain@unity3d.com>
pastasfuture pushed a commit that referenced this pull request Aug 20, 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

* Added information about ray tracing light culling (#4392)

* Added ray tracing light culling section and moved a couple of things around

* Update Ray-Tracing-Getting-Started.md

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>

* Added more pages to help users with runtime usage #4394

* Disable DXR XR test (#4403)

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

* Update CHANGELOG.md

* Fix automated tests

* upgrade path tracing alpha test

* 5001 updated unreadable image

* update failing test scene

* Update failing scenes

* Changing geometry in 708/711 tests

It was not appearing for some reasons

* Tentative fix

* Debug 'debug test scene'

* Debug

* new DebugDisplaySettings

* revert static variable to private

* Disable debug test scenes and reverting changes

Co-authored-by: Rémi Chapelain <57442369+remi-chapelain@users.noreply.github.com>
Co-authored-by: Lewis Jordan <lewis.jordan@hotmail.co.uk>
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