PDA

View Full Version : blending a polygon for transparency



blessman11
02-28-2011, 04:39 PM
apparently blending is the best way of archiving transparency on a texture. When doing some research I've heard that there isn't an Open GL function for setting transparency of certain pixels.

I'm, desperately running out of time, please can you post me to a good simple tutorial if you've found one.

ZbuffeR
02-28-2011, 04:51 PM
Simply use a RGBA texture, or directly glDrawPixels ?
Not sure I understand your question.

McLeary
02-28-2011, 04:57 PM
Guess he only need to use GL_RGBA setting the appropriate alpha values.