From 47a1cfd64ae33eeca0b0e19dcc7aa6628deac080 Mon Sep 17 00:00:00 2001 From: Maiko Tan Date: Tue, 2 Apr 2024 13:31:26 +0800 Subject: [PATCH] feat: add smaa effect --- src/core/effects/SMAA.vue | 49 +++++++++++++++++++++++++++++++++++++++ src/index.ts | 2 ++ 2 files changed, 51 insertions(+) create mode 100644 src/core/effects/SMAA.vue diff --git a/src/core/effects/SMAA.vue b/src/core/effects/SMAA.vue new file mode 100644 index 00000000..4561ed75 --- /dev/null +++ b/src/core/effects/SMAA.vue @@ -0,0 +1,49 @@ + + + diff --git a/src/index.ts b/src/index.ts index c7e8ad25..563ead1b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,6 +4,7 @@ import EffectComposer from './core/EffectComposer.vue' import Glitch from './core/effects/Glitch.vue' import Outline from './core/effects/Outline.vue' import Pixelation from './core/effects/Pixelation.vue' +import SMAA from './core/effects/SMAA.vue' import Vignette from './core/effects/Vignette.vue' import Noise from './core/effects/Noise.vue' @@ -17,6 +18,7 @@ export { Noise, Outline, Pixelation, + SMAA, Vignette, useEffect, }