Enabling Stencil test
Enabling Stencil test
Hello, because stencil testing is not by default supported for some frameworks, I would like to ask if there is a need to do it for wxGLCanvas. I have only found that there is an attribute to set up the stencil buffer size but I didn't found anything about how (or if) to enable the stencil test.
Re: Enabling Stencil test
What wxWidgets can do about OpenGL can be read in the FAQ of "General Development", viewtopic.php?f=27&t=45552
Enabling/disabling the stencil buffer test is an OpenGL command: glEnable(GL_STENCIL_TEST) See https://www.khronos.org/registry/OpenGL ... able.xhtml
True. See the wx docs https://docs.wxwidgets.org/trunk/classw ... butes.htmlthere is an attribute to set up the stencil buffer size
Enabling/disabling the stencil buffer test is an OpenGL command: glEnable(GL_STENCIL_TEST) See https://www.khronos.org/registry/OpenGL ... able.xhtml
Re: Enabling Stencil test
Thank you for the help, I have done this in OpenGL before:
but I will check out the rest you have suggested.Enabling/disabling the stencil buffer test is an OpenGL command: glEnable(GL_STENCIL_TEST) See https://www.khronos.org/registry/OpenGL ... able.xhtml