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

Object3D: Add twoPassTransparentRendering. #25156

Closed
wants to merge 1 commit into from
Closed

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Dec 19, 2022

Fixed #24711.
Fixed #25149.

Description

Introduces Object3D.twoPassTransparentRendering which controls whether double-sided, transparent objects should be rendered with two passes or not.

#21967 introduces two pass rendering for fixing transparency artifacts. However, since then we received multiple reports where users complain about performance degradations. The two pass rendering also breaks the evaluation of gl_FrontFacing in a certain use case, see #25149.

@mrdoob
Copy link
Owner

mrdoob commented Dec 22, 2022

#25165 was merged instead.

@mrdoob mrdoob closed this Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants