Skip to main content
3 votes

Is it possible to fill in Stencil Buffer programmatically via fragment shader?

There are a few confusing statements in your question. However, I'll still assume you're largely aware of how the stencil buffer and the stencil test actually work. I'll also talk about OpenGL, based ...
Christian Rau's user avatar
2 votes

Are stencil buffer dimensions required to match render target dimensions?

When the framebuffer attachment sizes differ, rendering will only happen to the smallest size supported by all attachments (i.e. a rectangle of minimal width & height among all the attachments). ...
lisyarus's user avatar
  • 225

Only top scored, non community-wiki answers of a minimum length are eligible