Skip to content
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

Fixed RTGI in performance mode when light layers are enabled on the asset. #1816

Merged
merged 2 commits into from
Sep 11, 2020

Conversation

anisunity
Copy link
Contributor

When light layers are enabled on the HDRP asset, for RTReflections and RTGI all lights were not contributing in performance mode only (in quality it worked fine). This PR fixes that issue.
Also adding a test to cover that case.

Testing status

Ran the DXR tests locally and they were green

@github-actions
Copy link

It appears that you made a non-draft PR!
Please convert your PR to draft (button on the right side of the page)
and cancel any jobs that started on Yamato.
See the PR template for more information.
Thank you!

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.

Works as expected with Light Layers enabled now. Checked both modes with different Layer Masks
PR
dpVW4jL7GF
Previous behavior:
kXV6JDZBkj

@sebastienlagarde sebastienlagarde merged commit 1c39d40 into HDRP/staging Sep 11, 2020
@sebastienlagarde sebastienlagarde deleted the HDRP/FixRTPerfLightLayers branch September 11, 2020 07:24
sebastienlagarde added a commit that referenced this pull request Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants