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

feat: add chromatic aberration effect #149

Merged
merged 8 commits into from
Jan 4, 2025

Conversation

damienmontastier
Copy link
Collaborator

This component introduces the ChromaticAberration effect, which simulates light dispersion through a lens, creating color fringing effects at the edges of objects. The <ChromaticAberration> effect is part of the pmndrs/postprocessing package and is designed to add a realistic lens effect or a stylized touch to your scene.

  • Enhances the visual appeal of your scene by introducing subtle or dramatic chromatic aberration effects.
  • Easy to set up — simply include it in your <EffectComposer> pipeline.
  • Provides customizable options such as color offset, radial modulation, and modulation offset for fine-tuning the effect.
  • Fully supports different blend functions for enhanced visual styles.
  • The modulationOffset property works only when radialModulation is enabled, ensuring precision in its application.

For more details, see ChromaticAberration on pmndrs/postprocessing.


Local Playgroundpnpm run playground

Local Documentationpnpm run docs:dev


@alvarosabu @Tinoooo

@damienmontastier
Copy link
Collaborator Author

@alvarosabu I've just adapted the HueSaturation component for V2 of the package ✌️

@alvarosabu alvarosabu self-assigned this Jan 4, 2025
@alvarosabu alvarosabu added feature p3-significant High-priority enhancement (priority) labels Jan 4, 2025
Copy link
Member

@alvarosabu alvarosabu left a comment

Choose a reason for hiding this comment

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

Thanks for adding this. I also promoted it on socials

@alvarosabu alvarosabu merged commit 8fc0321 into Tresjs:main Jan 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature p3-significant High-priority enhancement (priority)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants