Clip pixels inside area with OpenGL?

Viewed 61

I have a rectangle that i need to clip (i mean clip pixels inside my area, not outside). glScissor works almost like i want, but as i said, i need to clip pixels INSIDE my area, but scissor works vice versa. Does glScissor can make thing that i need, or GL has other methods?

Here example what i need to do (I drew picture for example):

drawing

0 Answers
Related