Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > Re: OpenGL stat...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 12 Topic 4824 of 5041
Post > Topic >>

Re: OpenGL states and performances

by Wolfgang Draxinger <wdraxinger@[EMAIL PROTECTED] > Jul 7, 2008 at 07:27 PM

karim.atiki@[EMAIL PROTECTED]
 wrote:

> Sorry, I made a stupid mistake... :o))
> I meant: glEnable(GL_ALPHA_TEST) and not
> glEnable(GL_ALPHA_CHANNEL).

I wouldn't use alpha test. It cerates jaggy edges. In 2D tile
based application you can use blending w/o problems, as you're
going to use the painter's algorithm anyway and don't use the
depth test.

Alpha test is good, if you want to completely reject fragments,
so that they don't update the depth buffer. This is normally
used to draw foilage in the not most recent virtual environment
applications (like games) as I'm writing this. The most top of
the notch games use real geometry.

Wolfgang Draxinger
-- 
E-Mail address works, Jabber: hexarith@[EMAIL PROTECTED]
 ICQ: 134682867
 




 12 Posts in Topic:
OpenGL states and performances
karim.atiki@[EMAIL PROTEC  2008-07-07 02:21:18 
Re: OpenGL states and performances
Wolfgang Draxinger <wd  2008-07-07 17:28:16 
Re: OpenGL states and performances
karim.atiki@[EMAIL PROTEC  2008-07-07 08:40:25 
Re: OpenGL states and performances
Wolfgang Draxinger <wd  2008-07-07 19:27:36 
Re: OpenGL states and performances
karim.atiki@[EMAIL PROTEC  2008-07-07 11:39:11 
Re: OpenGL states and performances
Wolfgang Draxinger <wd  2008-07-07 21:02:50 
Re: OpenGL states and performances
fungus <openglMYSOCKS@  2008-07-07 14:12:36 
Re: OpenGL states and performances
fungus <openglMYSOCKS@  2008-07-07 14:15:36 
Re: OpenGL states and performances
fungus <openglMYSOCKS@  2008-07-07 20:22:15 
Re: OpenGL states and performances
Wolfgang Draxinger <wd  2008-07-08 10:05:13 
Re: OpenGL states and performances
zyend <karim.atiki@[EM  2008-07-08 05:57:05 
Re: OpenGL states and performances
folays <folays@[EMAIL   2008-07-08 16:01:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 23:52:05 CST 2008.