Billboarding (tree for example)

I want to draw a tree, but i don’t know how to tell opengl not to draw for example where the texture color is black.
I tried GlBlendFunc(GL_ZERO,GL_SRC_COLOR) but it’s uncool…

Thank you !


I’ve the thing that you’re looking for.

I use alpha channel for displaying a tree.

Check out on my site :