Color Key

How can you implement Color Key in OpenGL, to get transperency effect. I need to filter only two colors (0,0,0), (255,255,255).

You could check Nate’s tutorials on color keying, you can download them from:
http://nate.scuzzy.net/gltut/

Hope this helps,

Daniel Palomo van Es