glclipplane in openGL
I am working in webGL. Now i am trying sectional view( clipping ) in webGL. I am refer the concept of openGL glcliplane(). I want to know in the glclipplane() function glenum plane is planegeometry or plane in a frustum.
Thanks in Advance.
Last edited by jeeva; 03-27-2014 at 06:58 AM.
Reason: Modifiy the Post
It's an enum specifying which plane to operate on, e.g. GL_CLIP_PLANE0, GL_CLIP_PLANE1 etc.. up to GL_MAX_CLIP_PLANES-1.
However, I don't think WebGL supports the glClipPlane API, you might need to manually clip your geometry.