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

Tutorial about stencil buffers #280

Open
maxammann opened this issue Dec 16, 2021 · 1 comment
Open

Tutorial about stencil buffers #280

maxammann opened this issue Dec 16, 2021 · 1 comment

Comments

@maxammann
Copy link

Hello, first of all thank you for this great resource!

I would be happy to write a tutorial about stencil buffers as linked here: https://sotrh.github.io/learn-wgpu/beginner/tutorial8-depth/#a-pixels-depth

We'll cover stencil buffers later.

Are you already at it? On which tutorial should I base the tutorial?

@sotrh
Copy link
Owner

sotrh commented Dec 18, 2021

Hmm, I forgot about stencil buffers. If you want to write something, I would put it the showcase folder. As for what to base it on I'm not sure. I'm honestly not familiar with all the use cases for stencil buffers outside of highlighting objects.

The framework crate in the showcase folder has a bunch of utility functions to help you get started. You could also take the latest tutorial and use that as a base.

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

No branches or pull requests

2 participants