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

Draw stencil shadows in one drawcall when possible #1024

Merged
merged 1 commit into from Nov 7, 2019

Conversation

@SomaZ
Copy link
Contributor

SomaZ commented Oct 25, 2019

When glStencilOpSeparate is available, the renderer tries to render stencil shadows in one draw call instead of two. It's a neat little performance booster.

@xycaleth xycaleth merged commit 146189a into JACoders:master Nov 7, 2019
1 of 2 checks passed
1 of 2 checks passed
continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
@SomaZ SomaZ deleted the SomaZ:OpenJK-Stencil-Optimization branch Nov 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.