File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,11 @@ The `Barrel Blur` is a custom effect that applies a barrel distortion with chrom
10
10
11
11
The ` <BarrelBlurPmndrs> ` component is straightforward to use and provides customizable options to fine-tune the barrel blur effect.
12
12
13
- ``` vue{4,13-17,42-46 }
13
+ ``` vue{4,12-15,40-44 }
14
14
<script setup lang="ts">
15
15
import { TresCanvas } from '@tresjs/core'
16
16
import { Environment, OrbitControls, RoundedBox } from '@tresjs/cientos'
17
17
import { EffectComposerPmndrs, BarrelBlurPmndrs } from '@tresjs/post-processing'
18
- import { BlendFunction } from 'postprocessing'
19
18
20
19
const gl = {
21
20
clearColor: '#4f4f4f',
@@ -26,7 +25,6 @@ const gl = {
26
25
const effectProps = {
27
26
amount: 0.25,
28
27
offset: [0.5, 0.5],
29
- blendFunction: BlendFunction.OVERLAY,
30
28
}
31
29
</script>
32
30
You can’t perform that action at this time.
0 commit comments