pmndrs / pmndrs/postprocessing
Implement GlitchEffect
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 GlitchEffect.
Tasks
- Create
GlitchEffect. - Create
glitchdemo. Also useChromaticAberrationEffectin that demo. - Add unit test.
Implementation Details
- Should be done after
ChromaticAberrationEffecthas been implemented. - The implementation from v6 can be copied mostly as-is.
- The effect should define an
offsetoutput uniform for chromatic aberration.- Also provide an
offsetgetter for this uniform's value. - The
ChromaticAberrationEffectwill automatically use theoffsetuniform as input if it runs after aGlitchEffect.
- 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 reviewing the v6 implementation and the existing ChromaticAberrationEffect, since the issue says this work depends on it. Create the GlitchEffect, a glitch demo using ChromaticAberrationEffect, and a unit test; it is done when the offset output uniform and getter are provided and all three tasks are complete.
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
- 48/100