Skip to content

Add damp accessor to WebGL AfterimagePass class #31035

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

Merged
merged 3 commits into from
May 4, 2025

Conversation

neilrackett
Copy link
Contributor

@neilrackett neilrackett commented May 2, 2025

Description

This pull request adds a damp property to the WebGL AfterimagePass class to add clamping, avoid the need to set uniforms directly and bring it into line with the TSL version.

Code style is consistent with the existing codebase and this change has been applied to the webgl_postprocessing_afterimage example, which has been tested as working.

@neilrackett
Copy link
Contributor Author

Thanks for the feedback: done and done, and will keep them in mind for future PRs.

@neilrackett neilrackett changed the title Add clamped damp accessor to WebGL AfterimagePass class Add damp accessor to WebGL AfterimagePass class May 3, 2025
@Mugen87 Mugen87 merged commit 3be0076 into mrdoob:dev May 4, 2025
11 checks passed
@Mugen87 Mugen87 added this to the r177 milestone May 4, 2025
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