learn-wgpu icon indicating copy to clipboard operation
learn-wgpu copied to clipboard

Tutorial about stencil buffers

Open maxammann opened this issue 3 years ago • 1 comments

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?

maxammann avatar Dec 16 '21 16:12 maxammann

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.

sotrh avatar Dec 18 '21 19:12 sotrh