Description
Implement a GlitchEffect.
Tasks
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.
Description
Implement a
GlitchEffect.Tasks
GlitchEffect.glitchdemo. Also useChromaticAberrationEffectin that demo.Implementation Details
ChromaticAberrationEffecthas been implemented.offsetoutput uniform for chromatic aberration.offsetgetter for this uniform's value.ChromaticAberrationEffectwill automatically use theoffsetuniform as input if it runs after aGlitchEffect.