   Transparency
  Hello everyone.  How do you set up transparency in 2D ortho mode?  I want to have a certain color on my textures to be transparent.  I know this is a simple question, but I haven''t had much luck getting it to work.  Thanks in advance!   I am not a vegetarian because I love animals; I am a vegetarian because I hate plants.-Brent 
  >> I want to have a certain color on my textures to be transparent· You must use the RGBA texture format, instead of just RGB.· Use an image format that supports ALPHA channel (like TGA).· Or, in your texture loader, run through every color, and check if it matches ''your transparent color''. -If it does, set the alpha channel to 0 (fully transparent), else set it to 255 (no transparency).· and in your code, glEnable(GL_ALPHA_TEST); -----------------------------AM ;  Hi,also to make things sime-transperent , cool looking menues use alpha blending... glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); ... works fine for windows...note that for AA 32-bit images the alpha test will give bad results, I wont suggest using it... ;  How would I make it transparent since I am using a simple way to load the bitmaps:AUX_RGBImageRec *LoadBMP(char *Filename){FILE *File=NULL;if (!Filename){return NULL;}File=fopen(Filename,"r");if (File){fclose(File);return auxDIBImageLoad(Filename);}return NULL;}How could I test each pixel to see if I want it to be transparent or not? ;  That''s not the right section of code you want to look at.  The pixel data will be in the AUX_RGBImageRec that is returned back.  Just loop through each pixel and see if its RGB value is the value you want to be transparent.  If it is, set the alpha value of that pixel to 0; 