Is it possible to use SelectiveBloomEffect and a HDRJPG Background/Environment and have the background be masked using ignoreBackground or is a different method required? #647
Replies: 1 comment
-
That only works if the luminance of the HDR image never exceeds 2. Judging by the results however, the image seems to contain values that are much greater than that.
I'm moving this to the forum since it's a general question. |
Beta Was this translation helpful? Give feedback.
-
Description of the bug
Trying to use SelectiveBloomEffect set at a Threshold of 2 to mask out Luminance of HDRJPG background so only the gltf asset with KHR_Emissive_strength set to 10 will be affected, but currently the background is being affected. I have tried setting up ignoreBackground in RenderPass and setting it to true in my SelectiveBloomEffect but it still is blowing out the background. It seems like Bloom is using the Luminance of the HDRJPG background? I would expect if the Threshold is set to 2 then the background would be masked from Bloom.
To reproduce
Use an HDRJPG in scene.Background and scene.Environment and add SelectiveBloomEffect with Threshold 2, Intensity 1, Radius .5, Smoothing .025, and BlendMode set to Screen or Add.
Expected behavior
Expected the background to be masked from Bloom. Like this image but only the teal sphere glowing.
Screenshots
Library versions used
Desktop
Windows, Chrome, 127.0.6533.88/89
Beta Was this translation helpful? Give feedback.
All reactions