glowLayer changing color when the visibility of a mesh is toggled on and off

I’m not sure if this is a bug or if there is something I am not understanding about glowLayers.

In this playground, the color or alpha of a glowLayer is changing when the visibility of a separate mesh (the sphere in this case) is toggled on and off (by mouseover the ground mesh).

Interestingly, when I use setTimeout to change the visibility of the glowLayer, it all works fine. Uncomment the setTimeout function to see for yourself.

Thanks in advance for any help.

It is a bug (shame on me!), it will be fixed by:


It was not working correctly in this case neither, as the mesh should not be displayed when visibility = 0, so you should not have a glow in this case => that’s what will happen with the fix.


Thanks Evgeni

Can’t agree more!

This is working now. Thanks for the prompt fix! :smiley: :smiley:

1 Like