Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding stencil to the Frame Buffer: DxGLFrameBuffer.cs #45

Merged
merged 1 commit into from
Mar 14, 2021

Conversation

Svabik
Copy link
Contributor

@Svabik Svabik commented Mar 13, 2021

This small modification of the frame buffer allows the stencil tests to be used. That is, in certain cases, extremely fast and useful feature. It allows for example to render an area of nonconvex polygons (even with holes inside) knowing just their boundary. And much more.
This simple change has been originally suggested by Varon. I have made that change and tested on my code - works well.

This small modification of the frame buffer allows the stencil tests to be used. That is, in certain cases, extremely fast and useful feature. It allows for example to render an area of nonconvex polygons (even with holes inside) knowing just their boundary. And much more.
This simple change has been originally suggested by Varon. I have made that change and tested on my code - works well.
Copy link
Member

@varon varon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great change. Thanks @Svabik .

Please ping me on Discord for contributor status.

@varon varon merged commit 0e657c1 into opentk:master Mar 14, 2021
@NogginBops NogginBops added this to the 4.2.0 milestone Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants