From 561ae0938dbcbb43d5e90306ecd58a04f5188caa Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Sun, 2 May 2021 01:32:50 +0200 Subject: [PATCH] fix dof --- src/components/postprocessing/vanruesc/Effect.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/postprocessing/vanruesc/Effect.ts b/src/components/postprocessing/vanruesc/Effect.ts index 0613ce8..0555d69 100644 --- a/src/components/postprocessing/vanruesc/Effect.ts +++ b/src/components/postprocessing/vanruesc/Effect.ts @@ -64,7 +64,7 @@ function createEffect( effect = new PP.BloomEffect(options) break case 'dof' : - effect = new PP.DepthEffect(renderer, options) + effect = new PP.DepthOfFieldEffect(renderer, options) break case 'smaa' : effect = createSmaaEffect(options, assets)