View Full Version : Transparent objects?
billy
03-29-2001, 11:57 PM
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.
Tom Nuydens
03-30-2001, 12:11 AM
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 http://www.opengl.org/discussion_boards/ubb/wink.gif
- Tom
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.