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

Examples: Disable damping in alpha hash demo. #26519

Merged
merged 1 commit into from
Aug 1, 2023
Merged

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Aug 1, 2023

Related issue: -

Description

I've noticed a minor issue in webgl_materials_alphahash. When using OrbitControls with damping, the TAA accumulation sometimes starts during the damping phase because needsUpdate is not correctly set to true (since the change event listener is not executed in certain frames). This causes flashing which can easily be reproduced in production. Not using damping fixes the issue.

@Mugen87 Mugen87 added this to the r156 milestone Aug 1, 2023
Copy link
Collaborator

@donmccurdy donmccurdy left a comment

Choose a reason for hiding this comment

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

Much better, thanks!

@Mugen87 Mugen87 merged commit 5c619ba into mrdoob:dev Aug 1, 2023
Mugen87 added a commit that referenced this pull request Aug 1, 2023
@Mugen87
Copy link
Collaborator Author

Mugen87 commented Aug 1, 2023

Cherry-picked this to gh-pages: af5df3f

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