I am making a 2D graphics engine using Java2D and I’m in need of help. I want to perform additive blending on my particles but I can not find a way that is fast enough for real-time drawing. Any hints?
I might also be interested in using the transparent pixels stored by photoshop and then replace my black-ish pixels with those.
For those who do not know what additive blending does, it “adds” the value of a pixel to draw to the pixel it’s drawing to and thus a part of a picture will seem more transparent depending on how black it is since black==0.