Highlight through objects

You should draw last (create last) the element to exclude to ensure that the stencil buffer is not erased by them: https://www.babylonjs-playground.com/#2338DN#2

1 Like