-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
Draw on a transparent window #274
Comments
I believe this is gfx-rs/wgpu#687 We have supported the alpha channel since version 0.9.0 in #236 and it was made configurable in #260. |
so basically it's impossible draw transparent pixels |
No, it is not impossible. Read the linked |
ah so i just have to wait ok.... |
Any workarounds? |
The tasks for the wgpu side are described in the linked ticket. We can't do anything here until that is solved. Until these issues are taken care of, transparency in a transparent window may work depending on the exact environment due to various existing bugs in different levels of the graphics stack. |
Doing some cleanup on old tickets. This one can probably be closed since the upstream issue has been resolved. Also, according to the docs, |
I'm sorry to comment on a closed issue, but has anyone had success getting transparency to work on a Windows system? I haven't had luck getting it to work I'm afraid. I have tried setting the I also tried a local fork of pixels where I hardcode the
This issue appears to be related: gfx-rs/wgpu#5150 Thanks heaps |
I think what's missing is a way to override the Line 322 in befb84a
|
Ah, yes this is the problem I had when I wrote #274 (comment). Only Opaque is supported on my setup, too. |
Tracking upstream: gfx-rs/wgpu#3486 |
Yep, I think that's really the root cause of this one. It likely is more of a wgpu problem, but would be great if we could track it here too. Thanks so much for the reply and help 😄 |
I created a transparent window bu as soon as I call the render function the background turns black
The text was updated successfully, but these errors were encountered: