From 37f1ab6383d1a88140903caa450624035befc368 Mon Sep 17 00:00:00 2001 From: Tino Koch <17991193+Tinoooo@users.noreply.github.com> Date: Thu, 5 Sep 2024 17:23:41 +0200 Subject: [PATCH] added smaa effect --- playground/src/components/BasicScene.vue | 10 ++++++--- playground/src/pages/three/smaa.vue | 18 ++++++++++++++++ playground/src/router.ts | 1 + src/core/three/SMAA.vue | 26 ++++++++++++++++++++++++ src/index.ts | 2 ++ 5 files changed, 54 insertions(+), 3 deletions(-) create mode 100644 playground/src/pages/three/smaa.vue create mode 100644 src/core/three/SMAA.vue diff --git a/playground/src/components/BasicScene.vue b/playground/src/components/BasicScene.vue index a4bd4bf2..a06f0f39 100644 --- a/playground/src/components/BasicScene.vue +++ b/playground/src/components/BasicScene.vue @@ -2,6 +2,10 @@ import { TresCanvas } from '@tresjs/core' import { EffectComposerThree, PixelationThree } from '@tresjs/post-processing' import { OrbitControls } from '@tresjs/cientos' + +defineProps<{ + wireframe?: boolean +}>()