Skip to content

Conversation

@paulhoux
Copy link
Collaborator

…and gl::stencilFuncSeparate methods, as well as their push/pop/get variants, to control stencil buffer state. Also added matching gl::ScopedStencilOp and gl::ScopedStencilFunc classes.

While not many people often use the stencil buffer, in recent projects I have used it extensively for effects and path rendering. Being able to properly set and restore the stencil state comes in really handy, especially when doing nested operations.

…tencilFuncSeparate methods, as well as their push/pop/get variants, to control stencil buffer state. Also added matching gl::ScopedStencilOp and gl::ScopedStencilFunc classes.
@paulhoux
Copy link
Collaborator Author

If it's all the same, I think I'll go ahead and merge this. I have been using it for the past couple of weeks and it's working well for me. Will give it a few more days, so let me know if you have any objections.

@andrewfb andrewfb merged commit d97809d into cinder:master Jul 25, 2025
8 checks passed
@andrewfb
Copy link
Collaborator

Tested these locally - thanks for this Paul and sorry for the delay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants