Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SelectiveBloomEffect doesn't work when renderer.logarithmicDepthBuffer set true #671

Open
vci-core opened this issue Dec 27, 2024 · 2 comments

Comments

@vci-core
Copy link

Description of the bug

SelectiveBloomEffect doesn't work when renderer.logarithmicDepthBuffer set true

To reproduce

option WebGLRenderer
{
powerPreference: "high-performance",
antialias: false,
stencil: false,
depth: false,
alpha: true,
logarithmicDepthBuffer: true
}

option EffectComposer
{
frameBufferType: HalfFloatType,
alpha: true
}

option SelectiveBloomEffect
{
opacity: 1,
blendFunction: BlendFunction.ADD,
mipmapBlur: true,
luminanceThreshold: 0,
luminanceSmoothing: 0.2,
intensity: 1,
radius: .85
}
effect.inverted = false;
effect.ignoreBackground = true;

Library versions used

  • Three: 0.169.0
  • Post Processing: 6.36.4
@vci-core
Copy link
Author

tips:
when set inverted=false and add a mesh in selection,it not work

@vanruesc
Copy link
Member

Hi, I'm unable to reproduce the issue. I've tested SelectiveBloomEffect with logarithmic depth just now and it seems to work as expected.

If you need help troubleshooting, please provide a minimal reproduction of the issue with https://stackblitz.com/edit/postprocessing-v6 or some other sandbox environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants