Color blending
in
Programming Questions
•
2 years ago
hello!
I'm trying to figure out how to achieve a "blend to white" or a "blend to black" effect.
For example I have many particles flying around the screen and leaving very faint, almost transparent, purple trails behind. Instead of having the pixels show opaque purple after enough overlapping, I want them to veer to white, or to black, depending on the background colour. (Maybe they could simply veer to the inverse colour of the background?)
I've been messing around with various alpha blend settings and even tried an OPENGL hack with no success.
Your help is greatly appreciated! Thanks!
1