Best way to put a glow only around an object?

I am adding a glow effect to certain objects using the filter “new BloomFilter(BloomFilter.GlowMode.Objects)”. But I would like the glow color to only appear around the edges of the glowing object, rather than covering it. That is, if the glow color is blue, I don’t want the whole object tinted blue, I just want the blue aura to surround the object. Any suggestions on the best way to do this?

is this it?

1 Like

That’s the effect I want. I’ll see if it works for me. Thanks for sharing!


1 Like

I tried those, but they didn’t give me results that I liked.

Problem with it is that it does not cull the outline when an object moves in front of it :frowning: