You'll have to enable blending first, havn't any wrapper for that in glxtreem yet:
glEnable(GL_BLEND);
glBlendFunct(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
GLXDraw.UseColor(R,G,B,A)
// Render primitives.
You'll have to enable blending first, havn't any wrapper for that in glxtreem yet:
glEnable(GL_BLEND);
glBlendFunct(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
GLXDraw.UseColor(R,G,B,A)
// Render primitives.
Amnoxx
Oh, and this code appears to be an approximate replacement for return(random() & 0x01);
Phoenix Wiki
http://www.phoenixlib.net/
Phoenix Forum
http://www.pascalgamedevelopment.com/viewforum.php?f=71
Bookmarks