# Bug glowing effect?

**URL:** <https://forum.babylonjs.com/t/bug-glowing-effect/47089>\
**Category:** Bugs\
**Created:** [January 9, 2024, 4:09pm UTC](https://forum.babylonjs.com/t/bug-glowing-effect/47089 "2024-01-09T16:09:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bvaisman](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bvaisman/32/20835_2.png) [@bvaisman](https://forum.babylonjs.com/u/bvaisman)\
**Post date:** [January 9, 2024, 4:09pm UTC](https://forum.babylonjs.com/t/bug-glowing-effect/47089/1 "2024-01-09T16:09:37Z")

</div>

Hi,

Maybe there is an issue with the glowing effect.

I don’t understand why the effect is visible behind other objects. For instance, in my example, it should not be visible behind the red box.

Here’s my PG : [https://playground.babylonjs.com/#C77SMH#5](https://playground.babylonjs.com/#C77SMH#5)

Could you help me ?

Thanks,

Boris

---

<div class="post-metadata">

**Author:** ![Joe\_Kerr](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/joe_kerr/32/39017_2.png) [@Joe\_Kerr](https://forum.babylonjs.com/u/Joe_Kerr)\
**Post date:** [January 9, 2024, 7:07pm UTC](https://forum.babylonjs.com/t/bug-glowing-effect/47089/2 "2024-01-09T19:07:29Z")

</div>

I ran into the same issue. But it is expected behaviour. The effect needs to know the occluding meshes, too. Meshes the glowlayer does not know (e.g. by setting addIncludedOnlyMesh) are like not existing to the glowlayer. If they do not exist, existing ones glow through.

> **[Babylon.js Playground](https://playground.babylonjs.com/#C77SMH%236)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [January 9, 2024, 10:28pm UTC](https://forum.babylonjs.com/t/bug-glowing-effect/47089/3 "2024-01-09T22:28:53Z")

</div>

@Joe_Kerr is fully right, we need to be aware of the occluders to occlude the glow.
