Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Unanswered
kitaedesigns asked this question inQ&A
Discussion options

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.
image

Screenshots

image

Library versions used

  • Three: r166
  • Post Processing: 6.35.5

Desktop

Windows, Chrome, 127.0.6533.88/89

You must be logged in to vote

Replies: 1 comment

Comment options

I would expect if the Threshold is set to 2 then the background would be masked from Bloom.

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 have tried setting up ignoreBackground in RenderPass and setting it to true in my SelectiveBloomEffect but it still is blowing out the background.

SelectiveBloomEffect should mask out the background ifSelectiveBloomEffect.ignoreBackground is set totrue.RenderPass.ignoreBackground skips rendering the background altogether on a scene rendering level.

I'm moving this to the forum since it's a general question.

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@kitaedesigns@vanruesc
Converted from issue

This discussion was converted from issue #646 on August 01, 2024 22:09.


[8]ページ先頭

©2009-2025 Movatter.jp