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

Remove Decal Property mask generation #1676

Merged
merged 2 commits into from
Sep 2, 2020

Conversation

FrancescoC-unity
Copy link
Contributor

Tested on console and it is indeed cheaper without it.

Tested: New template, Scene with around 400 decals on screen with varying properties (affecting different things) and scene with around 60. In all cases the version without HTile was faster, in extreme case it was almost 40% faster.

Tried both with fwd and deferred receivers; again, both cases without is faster.

Also as a benefit this remove one discrepancy between console and PC that was source of several bugs in the past.

@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!

@sebastienlagarde sebastienlagarde merged commit 96a28ae into HDRP/staging Sep 2, 2020
@sebastienlagarde sebastienlagarde deleted the HDRP/disable-decal-htile branch September 2, 2020 16:41
sebastienlagarde added a commit that referenced this pull request Sep 3, 2020
@sebastienlagarde sebastienlagarde restored the HDRP/disable-decal-htile branch September 3, 2020 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants