pmndrs / pmndrs/postprocessing
Implement ChromaticAberrationEffect
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 251
- Avg merge
- 17m
- Merged PRs (30d)
- 1
Description
Description
Implement a ChromaticAberrationEffect.
Tasks
- Create
ChromaticAberrationEffect. - Create
chromatic-aberrationdemo. - Add unit test.
Implementation Details
- The implementation from v6 can be copied mostly as-is.
- The effect should define an
offsetinput uniform.- Also provide an
offsetsetter for this uniform's value. - The
GlitchEffectprovides anoffsetoutput uniform.
- Also provide an
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the v6 implementation of ChromaticAberrationEffect and the existing GlitchEffect uniform handling. Create the effect, its chromatic-aberration demo, and a unit test; it is done when the effect exposes an offset input with a setter and the test verifies the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, three.js
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100