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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

damienmontastier
Copy link

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

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.

1 participant