Skip to content

Fix contact shadow debug views#4720

Merged
sebastienlagarde merged 3 commits into
hd/bugfixfrom
HDRP/fix-contact-shadow-debug-views
May 31, 2021
Merged

Fix contact shadow debug views#4720
sebastienlagarde merged 3 commits into
hd/bugfixfrom
HDRP/fix-contact-shadow-debug-views

Conversation

@FrancescoC-unity

Copy link
Copy Markdown
Contributor

Fix for https://fogbugz.unity3d.com/f/cases/1339327/

The load coordinates were wrong and not resilient to change of view.

What did I test: the repro scene, can see in video an exaggerated case that now works (the contact shadows are badly setup just to make sure I can see them easily)

contactShadow.mp4

@FrancescoC-unity FrancescoC-unity requested review from a team and sebastienlagarde May 31, 2021 09:20
@FrancescoC-unity FrancescoC-unity self-assigned this May 31, 2021
@github-actions github-actions Bot added the HDRP label May 31, 2021

@remi-chapelain remi-chapelain left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fix looks straightforward and testing sufficient ! ✔️
Kudos for including a video of the test, very much appreciated :)

The issue only arise when resizing the view so there's no easy way to include this in automation to prevent it from regressing, which is unlikely anyway !

@sebastienlagarde sebastienlagarde merged commit 3c418c0 into hd/bugfix May 31, 2021
@sebastienlagarde sebastienlagarde deleted the HDRP/fix-contact-shadow-debug-views branch May 31, 2021 19:25
This was referenced Jun 7, 2021
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