sprite colorkeying in OpenGL
Started by wazoo69, Jul 10 2001 04:01 PM
1 reply to this topic
#1 Members - Reputation: 157
Posted 10 July 2001 - 04:01 PM
Hey gang...
I''ve got my textures loading and running just fine in OpenGL..now I want to do some simple animation (ie. changing
the texture coords on the fly to map a different "cell" of the texture data onto my quads)
anyways, could anyone give me some advice on handling colorkeying?? I don''t want to be restricted to a black background for every game I make..
I know it has something to do with alphabit testing doesn''t it?
thanks in advance,
Erik
Sponsor:
#2 Members - Reputation: 122
Posted 10 July 2001 - 04:17 PM
It is called alpha testing. Here is a demonstration from ATI http://www.ati.com/na/pages/resource_centre/dev_rel/sdk/rage128sdk/OpenGL/Samples/Rage128AlphaTest.html






