jpummill
10-25-2002, 08:57 AM
Hi All,
I am having a problem with blending.
If I load a texture (.bmp file format) that is black and white, then the white part shows up and the black part is transparent.
What I want is the black part to show up and the white part to be transparent.
I currently have glBlendFunc set to (GL_ONE, GL_SRC_ALPHA).
Can I change the blending function to get the results I want or is this all I am going to get while using .bmp's because they don't have an alpha channel???
Any help would be appreciated,
jpummill
I am having a problem with blending.
If I load a texture (.bmp file format) that is black and white, then the white part shows up and the black part is transparent.
What I want is the black part to show up and the white part to be transparent.
I currently have glBlendFunc set to (GL_ONE, GL_SRC_ALPHA).
Can I change the blending function to get the results I want or is this all I am going to get while using .bmp's because they don't have an alpha channel???
Any help would be appreciated,
jpummill