Skip to content

Commit 6f3d459

Browse files
fix: add exported member depth picking pass pmndrs (#179)
* revert, re-import depth-picking-pass-pmndrs * chore: linter --------- Co-authored-by: alvarosabu <alvaro.saburido@gmail.com>
1 parent 65cf314 commit 6f3d459

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

src/core/pmndrs/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import TiltShiftPmndrs, { type TiltShiftPmndrsProps } from './TiltShiftPmndrs.vu
2222
import DotScreenPmndrs, { type DotScreenPmndrsProps } from './DotScreenPmndrs.vue'
2323
import SepiaPmndrs, { type SepiaPmndrsProps } from './SepiaPmndrs.vue'
2424
import LinocutPmndrs, { type LinocutPmndrsProps } from './LinocutPmndrs.vue'
25+
import DepthPickingPassPmndrs, { type DepthPickingPassPmndrsProps } from './DepthPickingPassPmndrs.vue'
2526

2627
export {
2728
BloomPmndrs,
@@ -46,6 +47,7 @@ export {
4647
DotScreenPmndrs,
4748
SepiaPmndrs,
4849
LinocutPmndrs,
50+
DepthPickingPassPmndrs,
4951
BloomPmndrsProps,
5052
DepthOfFieldPmndrsProps,
5153
EffectComposerPmndrsProps,
@@ -67,4 +69,5 @@ export {
6769
DotScreenPmndrsProps,
6870
SepiaPmndrsProps,
6971
LinocutPmndrsProps,
72+
DepthPickingPassPmndrsProps,
7073
}

src/core/three/UnrealBloom.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ defineExpose({ pass })
3232
3333
watchEffect(() => {
3434
pass.value.radius = props.radius
35-
?? pass.value.getCompositeMaterial().uniforms.bloomRadius?.value
36-
?? 0.1
35+
?? pass.value.getCompositeMaterial().uniforms.bloomRadius?.value
36+
?? 0.1
3737
})
3838
3939
watchEffect(() => {
4040
pass.value.strength
4141
= props.strength
42-
?? pass.value.getCompositeMaterial().uniforms.bloomStrength?.value
43-
?? 1
42+
?? pass.value.getCompositeMaterial().uniforms.bloomStrength?.value
43+
?? 1
4444
})
4545
4646
watchEffect(() => {
4747
pass.value.threshold
4848
= props.threshold
49-
?? LuminosityHighPassShader.uniforms.luminosityThreshold?.value
50-
?? 1
49+
?? LuminosityHighPassShader.uniforms.luminosityThreshold?.value
50+
?? 1
5151
})
5252
</script>

0 commit comments

Comments
 (0)