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

PostProcessing: Only request depth buffer when necessary. #29563

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Oct 5, 2024

Related issue: -

Description

This PR introduces a small memory optimization for new node based post processing modules.

Certain intermediate render targets used with QuadMesh do not require a depth render buffer since every fragment location is only rendered once. In this case, the render targets can be created with depthBuffer: false.

@sunag sunag added this to the r170 milestone Oct 6, 2024
@sunag sunag merged commit 3b49478 into mrdoob:dev Oct 6, 2024
11 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.

2 participants