Glow effect hide behind mesh

Hi,

How can I hide glow effect if its behind a mesh? I have tried addIncludedOnlyMesh and addExcludedMesh but no success.

here is a PG with example Babylon.js Playground , I would like glow effect to be not visible from behind the green box.

Thanks

ah, was putting it wrong , this does work with addIncludedOnlyMesh and addExcludedMesh

Or it should be ok by default :slight_smile:

https://www.babylonjs-playground.com/#Z9IK15#3

2 Likes

right , silly me, I need to rest, non-stop coding from few days xD
Thanks