Skip to content

Commit 56daa5b

Browse files
fix doc and code
1 parent e0f2a07 commit 56daa5b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/guide/pmndrs/barrel-blur.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@ The `Barrel Blur` is a custom effect that applies a barrel distortion with chrom
1010

1111
The `<BarrelBlurPmndrs>` component is straightforward to use and provides customizable options to fine-tune the barrel blur effect.
1212

13-
```vue{4,13-17,42-46}
13+
```vue{4,12-15,40-44}
1414
<script setup lang="ts">
1515
import { TresCanvas } from '@tresjs/core'
1616
import { Environment, OrbitControls, RoundedBox } from '@tresjs/cientos'
1717
import { EffectComposerPmndrs, BarrelBlurPmndrs } from '@tresjs/post-processing'
18-
import { BlendFunction } from 'postprocessing'
1918
2019
const gl = {
2120
clearColor: '#4f4f4f',
@@ -26,7 +25,6 @@ const gl = {
2625
const effectProps = {
2726
amount: 0.25,
2827
offset: [0.5, 0.5],
29-
blendFunction: BlendFunction.OVERLAY,
3028
}
3129
</script>
3230

0 commit comments

Comments
 (0)