Original Post
Hi everyone! Can anybody help me with a stencil buffer ? I need to subtract some contour (a group of points) from a surface (just a plane). But I don't understand the meaning of glStencilFunc's parameters. Can anybody tell me what are they means ? =) Please help me to solve my problem or just give me a simple example how to do this.