By dereklan
on Fri, 07/06/2012 - 06:59
Hi,
Sorry to bother u again. I could show the 3D plane for the 2d picture, but the 3D plane's color is black, how to change it to Transparent ?
Hi,
Sorry to bother u again. I could show the 3D plane for the 2d picture, but the 3D plane's color is black, how to change it to Transparent ?
ask DavidBeard for help~~ how to change the 3D plane's color ?
The plane itself should have no color. Did this occur when you attempted to use your own texture? Can you post the code you are using?
ask DavidBeard for help~~ how to change the 3D plane's color ?
Thanks reply, my texture is transparent?but I saw the blackground is black, so I think the plane's color is black, my code is
plane.h :
ask DavidBeard for help~~ how to change the 3D plane's color ?
I think that you're going to need to enable blending ..
Try adding those lines before the call to glActiveTexture()