Bug glowing effect?


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

Could you help me ?



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.


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