Skip to content

Fix light frustum planes #3341

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 2 commits into from
Feb 2, 2021
Merged

Conversation

adrien-de-tocqueville
Copy link
Contributor

Purpose of this PR

https://fogbugz.unity3d.com/f/cases/1304395/

issue was that the planes were extracted form the projection matrix, but after it has been transformed into GPU version, which gave wrong results for some planes


Testing status

Tested the repro steps of the project
Yamato has some red tests but they are red on master or work locally (eg. 2005_Light_Color_Temp) so it seems fine

@sebastienlagarde sebastienlagarde requested a review from a team February 2, 2021 10:26
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.

I think tested repro steps are sufficient. If nothing additional compared to master is failing on yamato this seems good to me.

@sebastienlagarde sebastienlagarde marked this pull request as ready for review February 2, 2021 11:25
@sebastienlagarde sebastienlagarde merged commit b84c14b into hd/bugfix Feb 2, 2021
@sebastienlagarde sebastienlagarde deleted the hd/fix-shadow-frustum-planes branch February 2, 2021 11:26
@sebastienlagarde sebastienlagarde mentioned this pull request Feb 4, 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