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 lens distortion #162

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

Conversation

damienmontastier
Copy link
Collaborator

This component introduces the LensDistortionEffect, which provides an abstraction for applying lens distortion with chromatic aberration blur. The <LensDistortionEffect> is specifically designed to add dynamic and immersive visual effects by distorting the scene with a customizable blur, enhancing artistic quality and realism.

  • Easy to set up — simply include it in your <EffectComposerPmndrs> pipeline.
  • Multiple options for controlling distortion intensity, principal point, focal length, and skew are available.
  • Fully supports different blend functions for enhanced customization.

For more details, see Lens Distortion Effect on pmndrs.


Local Playground — pnpm run playground

Local Documentation — pnpm run docs:dev


Feedbacks

On Leches, using Vector2, etc., is complicated. We can't adjust the step, etc.

src/core/pmndrs/LensDistortionPmndrs.vue Outdated Show resolved Hide resolved
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