PDA

View Full Version : glClipPlane



laure
09-19-2011, 01:59 AM
Is it possible to have a custom clipping plane that is neither parallel or perpendicular to the viewport?
In OpenGL I would use :

glClipPlane(GL_CLIP_PLANE0, planeEq);
glEnable(GL_CLIP_PLANE0);
Is there an equivalent in webGL or a way to acheive the same result?

Thanks for your help.