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.
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.
04-17-2000, 10:47 AM
Thanks. That is exactly what I was looking for.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.