Skip to content

Commit

Permalink
fix: error in bloom page for playground
Browse files Browse the repository at this point in the history
  • Loading branch information
dotmot committed Jan 30, 2024
1 parent 4e7d898 commit f9a10dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions playground/src/pages/bloom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const {
mipmapBlur: true,
})
const { threshold, smoothing } = useControls('luminance', {
const { luminanceSmoothing, luminanceThreshold } = useControls('luminance', {
threshold: {
value: 0.2,
min: 0,
Expand Down Expand Up @@ -128,14 +128,14 @@ onMounted(() => {
/>
<Suspense>
<EffectComposer :depth-buffer="true">
<Bloom
:luminance-threshold="threshold.value"
:luminance-smoothing="smoothing.value"
<Bloom
:luminance-threshold="luminanceThreshold"
:luminance-smoothing="luminanceSmoothing"
:intensity="intensity.value"
:blend-function="blendFunction.value"
:kernel-size="kernelSize.value"
:resolution="resolution.value"
:mipmap-blur="mipmapBlur.value"
:mipmap-blur="mipmapBlur.value"
/>
</EffectComposer>
</Suspense>
Expand Down

0 comments on commit f9a10dc

Please sign in to comment.