OpenGl + translucent object
Hi!
I have two objects to draw.
The second is like water, it have to cross the first objects
How can I set the object to be translucent?
Should I use glBlendFunc and/or the alpha value for each point?
You can check NeHe´s exemple code about transparence:
www.demonews.com
Gandalf the White
www.demonews.com
Gandalf the White
Gandalf the Black
enable blending, set the type of source and dest blending you need, and use alpha values for each vertice.
Carl "trixter"[email=carl@trixoft.com]carl@trixoft.com[/email]http://www.trixoft.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement