Original Post
Hi, I seem to be having some trouble with transparency. Weather if its 0 255 or even 100 its is always solid. I am using it from within an ortho projection, and it is always the same solid color as a said above. Here is the code. Also off topic, how would you make a 2D circle, no a sphere. Note this code is kinda implimented fast, as it should not be a square but a cylinder, so ignore the bad coding, as some of it was just copied and pasted.
glColor4ub(20,20,20,100);
///auxSolidSphere(Size);
//glColor4f(0.5f,0.5f,0.5f,1.0f);
int TileWidth = Size;
int TileHeight = Size;
glBegin(GL_QUADS);
//glColor3ub(255, 255, 255);
//glTexCoord2f(0.0, 0.0);
glVertex3f((TileWidth / 2), (TileHeight / 2),0.0f);
//glColor3ub(255, 255, 255);
//glTexCoord2f(1.0, 0.0);
glVertex3f((TileWidth / 2), -(TileHeight / 2),0.0f);
//glColor3ub(155, 155, 155);
//glTexCoord2f(1.0, 1.0);
glVertex3f( -(TileWidth / 2), -(TileHeight / 2),0.0f);
//glColor3ub(155, 155, 155);
//glTexCoord2f(0.0, 1.0);
glVertex3f( -(TileWidth / 2), (TileHeight / 2),0.0f);
glEnd();