Jump to content
  • Advertisement
Sign in to follow this  
NumberXaero

OpenGL GL2.0 separate stencil

This topic is 4001 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Im confused as to whats the real signature for this function the GLee header has this for glStencilFuncSeparate, which im using typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); and this for ATI version which ive read the 2.0 is based off typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); but the opengl.org sdk doc here (http://www.opengl.org/sdk/docs/man/xhtml/glStencilFuncSeparate.xml) has this void glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); I have the two pass shadow volume rendering working, but im getting strange results when doing them together. I just want to make sure I have this straight, is GLee right? I read a post on opengl.org that the spec is wrong, has anyone used this successfully and which one was it? To confuse things more the book More OpenGL Game Programming lists the gl sdk doc version (GLenum face, GLenum func, ...) seemingly for GL2 and ATi...

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!