different depth tests
/* AlphaFunction */
#define GL_NEVER 0x0200
#define GL_LESS 0x0201
#define GL_EQUAL 0x0202
#define GL_LEQUAL 0x0203
#define GL_GREATER 0x0204
#define GL_NOTEQUAL 0x0205
#define GL_GEQUAL 0x0206
#define GL_ALWAYS 0x0207
#define GL_NEVER 0x0200
#define GL_LESS 0x0201
#define GL_EQUAL 0x0202
#define GL_LEQUAL 0x0203
#define GL_GREATER 0x0204
#define GL_NOTEQUAL 0x0205
#define GL_GEQUAL 0x0206
#define GL_ALWAYS 0x0207
Yeah, if you ever have a question like this, go into the gl.h file in your include\gl directory of your compiler. Then search for the one that you do know, and it''ll be surrounded and commented around the others . Makes finding new stuff simple.
Ever heard of OpenGL.org?
http://www.opengl.org/developers/documentation/man_pages/hardcopy/GL/html/gl/depthfunc.html
http://www.opengl.org/developers/documentation/man_pages/hardcopy/GL/html/gl/depthfunc.html
quote:Original post by Ready4Dis
Yeah, if you ever have a question like this, go into the gl.h file in your include\gl directory of your compiler. Then search for the one that you do know, and it''ll be surrounded and commented around the others . Makes finding new stuff simple.
Or you could read the spec and know pretty much everything.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement