postprocessing
postprocessing copied to clipboard
EffectPass.dispose makes SelectiveBloomEffect instance non-reusable
Description of the bug
If dispose is called on an effect pass containing SelectiveBloom instance , and later if that bloom instance is reused again, it does not work
As discussed on discord the reason seems to be MipMapBlurPass getting disposed also
To Reproduce
Add SelectiveBloom into an effect pass do Effectpass.dispose() add the same SelectiveBloom instance into another effect pass now it will not work
Library versions used
- Three: [e.g. r143]
- Post Processing: [e.g. 6.28.5]