How do you obtain transparent objects. Do you just have to use glcolor4f and set last value between 0 and 1? Or does antone know of some tips that can be useful?
Thanks in advance,
Billy.
How do you obtain transparent objects. Do you just have to use glcolor4f and set last value between 0 and 1? Or does antone know of some tips that can be useful?
Thanks in advance,
Billy.
Originally posted by billy:
Do you just have to use glcolor4f and set last value between 0 and 1?
That, and glEnable(GL_BLEND) and glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA).
I don’t think this question belonged on the “advanced” forum, though. RTFM