In fact, I set the color to a gray like (0.5, 0.5, 0.5) but the particles is white in the renderer?

I use GL_SRC_ALPHA and GL_ONE for BlenFunc

(and it's work well for all others colors)

Elrick

MikeC

04-24-2002, 02:06 PM

What colour background are you drawing these particles over? If it's anywhere near {0.5,0.5,0.5} grey then the white particles are what you'd expect, no? Try a blendfunc of (GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA) instead and see how that looks.