Implement GlitchEffect

Open
#586 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, three.js

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.

Description

Description

Implement a GlitchEffect.

Tasks
  • Create GlitchEffect.
  • Create glitch demo. Also use ChromaticAberrationEffect in that demo.
  • Add unit test.
Implementation Details
  • Should be done after ChromaticAberrationEffect has been implemented.
  • The implementation from v6 can be copied mostly as-is.
  • The effect should define an offset output uniform for chromatic aberration.
    • Also provide an offset getter for this uniform's value.
    • The ChromaticAberrationEffect will automatically use the offset uniform as input if it runs after a GlitchEffect.
Dominant language
JavaScript
Stars
3k
Forks
266
Avg merge
6m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pmndrs/postprocessing

All issues in pmndrs/postprocessing

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.