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

SAOPass: Improve performance, fix visuals. #26599

Merged
merged 2 commits into from Aug 18, 2023
Merged

SAOPass: Improve performance, fix visuals. #26599

merged 2 commits into from Aug 18, 2023

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Aug 18, 2023

Related issue: -

Description

This changes rewrites SAOPass a bit which noticeably improves the performance and fixes the same background issue like with SSAOPass.

SAOPass does not perform a beauty or depth pass anymore. Instead, the pass just computes the normal buffer and always uses DepthTexture now to save the depth information in one go. On my macMini this improves the performance from 36FPS to 60FPS.

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Aug 18, 2023

Prod: https://threejs.org/examples/webgl_postprocessing_sao
PR: https://rawcdn.githack.com/Mugen87/three.js/dev75/examples/webgl_postprocessing_sao.html

@Mugen87 Mugen87 added this to the r156 milestone Aug 18, 2023
@Mugen87 Mugen87 merged commit b37b76b into mrdoob:dev Aug 18, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant