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)