Skip to content

Commit 61c2525

Browse files
Update src/effects/Glitch.tsx
Co-authored-by: njm222 <[email protected]>
1 parent 099212f commit 61c2525

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/effects/Glitch.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const Glitch = forwardRef<GlitchEffect, GlitchProps>(function Glitch(
2222
const delay = useVector2(props, 'delay')
2323
const duration = useVector2(props, 'duration')
2424
const strength = useVector2(props, 'strength')
25+
const chromaticAberrationOffset = useVector2(props, 'chromaticAberrationOffset')
2526
const effect = useMemo(
2627
() => new GlitchEffect({ ...props, delay, duration, strength, chromaticAberrationOffset: new Vector2() }),
2728
[delay, duration, props, strength]

0 commit comments

Comments
 (0)