postprocessing icon indicating copy to clipboard operation
postprocessing copied to clipboard

`mipmapBlurPass` is not exposed on `BloomEffect`

Open hybridherbst opened this issue 1 year ago • 1 comments

Description of the bug

To adjust bloom radius dynamically, I think one has to access bloom.mipmapBlurPass.radius = ... similar to how it works for luminance, bloom.luminanceMaterial.smoothing = ...

However, the mipMapBlurPass is not exposed / not in the types at the moment. Is that intentional?

Library versions used

  • Three: [e.g. 0.162]
  • Post Processing: [e.g. 6.35.5]

hybridherbst avatar Jun 14 '24 10:06 hybridherbst

Hi, thanks for pointing that out.

The mipmapBlurPass property is currently marked as private because it was an experimental feature when it was first added. I'm fine with changing the field to public-readonly. Feel free to send a PR if you'd like. Otherwise, I'll take care of it when I get a chance.

vanruesc avatar Jun 14 '24 10:06 vanruesc