Skip to content

Commit

Permalink
removed obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinoooo committed Sep 8, 2024
1 parent 09252e8 commit a0db261
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/core/three/UnrealBloom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ const { pass } = useEffectThree(() => new UnrealBloomPass(
defineExpose({ pass })
watchEffect(() => {
// TODO should this be done for all passes? 🤔
pass.value.setSize(sizes.width.value, sizes.height.value)
})
watchEffect(() => {
pass.value.radius = props.radius
?? pass.value.getCompositeMaterial().uniforms.bloomRadius?.value
Expand Down

0 comments on commit a0db261

Please sign in to comment.