I have a question on Blending I am hoping someone may be able to give me a hand with - or just some advice.
I have a number of texture map images (bmp files), which contain some portions of pure black colour. My desire to for OpenGL to not render parts of the texture map that are pure black, while rendering any part of the texture map that isnt black.
I have been playing around with the glBlendFunc call, but have not had any luck. The closest I have come has been not rendering the black components of the texture, and adding the colour components onto what has already been written to the destination - so the colour sections of my texture while visible, appear transparent - which isn’t the desired effect.
Am I going along the right path with using the glBlendFunc call? Is there another method I have to use in order for OpenGL to not render black sections? I have tried using an alpha channel as well, although did not seem to have any luck there either.
Any ideas or suggestions would be great.