Add glow effect on mirror reflection

I understand that only meshes are reflected on the mirror reflection. But is there a way if everything gets reflected? Such as non-mesh objects?

Here in this example I am adding a glow effect to my sphere but the glow does not appear in the reflection plane. Can this also appear on the plane?

https://www.babylonjs-playground.com/#LVTTQX#25

Hi John,

It seems when using the sphere.renderOutline=true flag, the highlight appears in the reflection. Not sure if the drawing methods are different between the two ways to render outlines.

PG: https://www.babylonjs-playground.com/#LVTTQX#26

1 Like

Awesome! That was the easiest solution!

Nice solution by @Andi!

The glow effect won’t work because it is a 2D screen effect added after the whole scene is rendered, whereas you would need it to be applied on the render target used by the mirror class to perform its rendering.

1 Like