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 unnecessary fullscreen pass when haze is off/disabled #1176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HifiExperiments
Copy link
Member

@HifiExperiments HifiExperiments commented Oct 21, 2024

in deferred rendering mode, haze is applied as a fullscreen pass after we've rendered opaque objects. but when haze is off, this shader still runs and just early exits. this is expensive for no reason, we can just early exit on the CPU

@HifiExperiments HifiExperiments added enhancement New feature or request needs CR This pull request needs to be code reviewed needs QA This pull request needs to be tested labels Oct 21, 2024
Copy link
Member

@ksuprynowicz ksuprynowicz left a comment

Choose a reason for hiding this comment

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

Thank you!
Everything looks good :)

@ksuprynowicz ksuprynowicz added CR approved This pull request has been successfully code reviewed and removed needs CR This pull request needs to be code reviewed labels Nov 1, 2024
@ksuprynowicz
Copy link
Member

I'm having trouble testing since it's on older protocol version. Can we rebase it on current master?

@HifiExperiments
Copy link
Member Author

done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CR approved This pull request has been successfully code reviewed enhancement New feature or request needs QA This pull request needs to be tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants