Three.js stencil buffer example to Babylon.js

I’m trying to port the Three.js stencil buffer example (Tamani-coding - Threejs Stencil Buffer Example - StackBlitz) to Babylon.js.

But stencils seem to be fundamentally different between the two, is it even possible?

Here’s a link to something that has almost the same effect

1 Like

Outstanding. That looks exactly like what I’m looking for.

Thanks. I’ll investigate further.

2 Likes