So, I’ve got a FBO with a stencil buffer. How do I put values in the stencil buffer with modern openGL (just shaders).
Let’s say I have a trangle or quad I want to render to the stencil buffer with value V. How would I go about that? Do I need a specific shader? There’s no specific openGl command that lets you just write values without a shader? kind of like glScissors?