Pre-multiplied alpha compositing

后端 未结 4 1285
野性不改
野性不改 2021-02-06 15:30

I am trying to implement pre-multiplied alpha blending. On this page : What Is Color Blending?, they do explain standard alpha blending but not for pre-multiplied values.

<
4条回答
  •  花落未央
    2021-02-06 16:02

    A wild guess: are you varying the amount of blending (srcA)? If so you must recalculate your pre-multiplied alpha values in the bitmap. If you don't, you will get an add-like effect which could be what you describe.

提交回复
热议问题