Hey, this video describes the WebGL stencil buffer and how to use it. With the stencil buffer you can hide or show parts of mesh objects. We develop a magic cube, where each cube faces shows or hides certain meshes. Chech out the github repo of this example!
Github: https://github.com/tamani-coding/thre...
Stackblitz: https://stackblitz.com/github/tamani-...
(00:00) - Intro
(00:28) - How does Stencil Buffer work
(02:40) - Implement a Magic Cube
(07:34) - Outro