Comment by neild
15 years ago
I believe what you are looking for is the alpha channel--the fourth color component which specifies how to blend two values. It doesn't make sense to add RGB(0,0,0) and RGB(0.5,0.5,0.5). It does make sense to add RGBA(0,0,0,0) and RGBA(0.5,0.5,0.5,0.5).
No comments yet
Contribute on Hacker News ↗