Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 209
8 votes

Uses for Stencil Buffer

Another use, that I think Dan didn't mention, is for filling non-convex polygons, e.g, and The stencil can be used to implement the fill rule which is typically either odd/even (as used in these ex …
Simon F's user avatar
  • 4,336
0 votes

Fast clipping without clearing stencil buffer

As per Russ's answer, I'd also suggest using scissor rectangles but, on the off-chance that is also slow, is it possible to use the Z buffer to set the Z to "near" in the regions you don't want drawn? …
Simon F's user avatar
  • 4,336