PDA

View Full Version : Billboarding (tree for example)



nullspace
01-20-2002, 05:40 AM
Hello,
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 !

Leyder Dylan
01-20-2002, 07:47 AM
Hi,

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

I use alpha channel for displaying a tree.

Check out on my site :
http://ibelgique.ifrance.com/Slug-Production/