Hi!
I’m trying to do a simple thing, but can’t get it working with glBlendFunc.
I have many “Particles”, which are basically white blurred circles (transparency in the center is 0% and increasing to the borders of the circle).
Now I wanna do that:
Everytime if two or more circles a drawn on the same pixel(s) then this pixels should get a (random) color and the alpha should be multiplied. I can blend everything right, without color if I’m using
glBlendFunc(GL_SRC_ALPHA,GL_ONE)
How can I add the color thing to this now?
I tried also glBlendFuncSeparate without luck.
thanks for your help.