glAlphaFunc

Started by
0 comments, last by WarAmp 22 years, 9 months ago
Hey there all, heres a quick question for ya: GL_ALPHA_TEST supported in hardware, or is it strictly a software test? My hardware is a TNT2 Ultra, and whenever I enable Alpha testing, it cuts my framerate down to anywhere between 4-20 fps, depending on how much of the alpha tested poly I can see. Also, when Multitexture is enabled, is the alpha test performed before or after the texture units in the pipeline? I''m using multitexture to combine some alpha values, and I want to test the resulting alpha So far, it doesnt seem to work, and it slows me down incredibly. Any help would be greatly appreciated. Waramp.
Waramp.Before you insult a man, walk a mile in his shoes.That way, when you do insult him, you'll be a mile away, and you'll have his shoes.
Advertisement
I don''t know this for sure, but I am pretty sure that alpha testing is done in hardware. It will still cause some slowdown though, because there are some expensive computations involved... Either that, or your card may not support it.

------------------------------
Trent (ShiningKnight)
E-mail me
OpenGL Game Programming Tutorials

This topic is closed to new replies.

Advertisement