View Full Version : OpenGL's version of Colorkeys

04-17-2000, 08:19 AM
In DirectX there was a feature you could set called color keying a texture. This basically made a certain color in a texture "see through". I was wondering how to do this sort of thing in OpenGL.

04-17-2000, 10:16 AM
You have to add an alpha channel to your texture for color keying in OpenGL. I have an example of this on my OpenGL Tutor page.

Nate http://nate.scuzzy.net

04-17-2000, 10:47 AM
Thanks. That is exactly what I was looking for.