Replies: 1 comment 3 replies
-
I think you can't achieve this by just alpha channel in color, because at the moment, when color applies alpha it takes just a color under it, not the sprite or background, if input colors for two pixels aren't the same (first figure is not fully transparent) the resulting color won't be the same. If background has same color you can make sprites with desired color with no alpha, then overlapping region would have same color. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Let's say I have two sprites in a group. I want the parent entity to be of
0.5
alpha, currently in bevy it seems that all I can do is to set sprite color to 0.5 alpha on each sprite. However, they will blend since they are both transparent now, which is not what I want (opaque blend then 0.5 alpha as a whole piece).what I get:

what I want:

Beta Was this translation helpful? Give feedback.
All reactions