-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
alphaToCoverage not showing alpha #680
Comments
This issue is unrelated to A few notes regarding the example setup:
Here's a fixed demo: https://stackblitz.com/edit/postprocessing-v6-befqytyk?file=src%2FApp.js |
You're probably running into a browser configuration issue 🤔 https://developer.stackblitz.com/platform/webcontainers/browser-config #works-on-my-machine |
Perhaps you are running into a browser configuration issue? I sent to a
friend and they experienced the same result I did. That said, I appreciate
you sharing this template and checking in on the issue, I will try and use
the template in the future if I have other issues.
…On Thu, Feb 6, 2025 at 7:11 AM Raoul v. R. ***@***.***> wrote:
You're probably running into a browser configuration issue 🤔
https://developer.stackblitz.com/platform/webcontainers/browser-config
#works-on-my-machine
Screenshot_20250206_130738.jpg (view on web)
<https://github.com/user-attachments/assets/2b67526b-2dbc-4dcc-937e-be8f40f2ed58>
—
Reply to this email directly, view it on GitHub
<#680 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYUYCAR5Z6C4TELW3JEVDZT2ONGNRAVCNFSM6AAAAABWQSOKO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMZZGY2TEMJQGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
When I attempt to use alphaToCoverage on a material, the pixels with alpha become all white.
https://codesandbox.io/p/sandbox/quirky-kalam-fnwnfw
Notably, renderer.antialias is false. Postprocessing docs say to initialize renderer this way.
And then use MSAA by EffectComposer.multisampling.
Threejs docs say that alphaToCoverage only works in MSAA enabled scenarios, so it should work here right? Even though their doc says to use antialias: true.
I expected the pixels to have transparency.
The text was updated successfully, but these errors were encountered: