-
-
Notifications
You must be signed in to change notification settings - Fork 36.3k
Open
Labels
Milestone
Description
Description
I know that blending in WebGPURenderer is now happening in Linear sRGB space but even so the result when rendering to a transparent background looks very wrong, though it's not exactly clear what's going wrong. It looks like a premultiplied alpha issue if I were to guess?
Reproduction steps
- Set the clear color to a completely transparent value
- Render a partially transparent object
- Notice a different blending profile than if a solid background color were used
Code
See fiddle
Live example
https://jsfiddle.net/wj05d67x/2/
Screenshots
| bg color=#eee, alpha=0 | bg color=#eee, alpha=1 | |
|---|---|---|
| WebGPURenderer | ![]() |
![]() |
| WebGLRenderer | ![]() |
![]() |
Version
r183
Device
No response
Browser
No response
OS
No response
Reactions are currently unavailable



