Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我得到了 (r, g, b, a) 像素。
需要添加叠加层。叠加是黑色 + 可变 Alpha 通道。(0,0,0, alpha),像这样:
我应该怎么计算?
我找不到效果很好的东西
这是我得到的样本:
http://en.wikipedia.org/wiki/Alpha_compositing