postprocessing icon indicating copy to clipboard operation
postprocessing copied to clipboard

EffectPass.dispose makes SelectiveBloomEffect instance non-reusable

Open optimus007 opened this issue 3 years ago • 0 comments

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]

optimus007 avatar Aug 07 '22 19:08 optimus007