BloomRenderPass without shining through other objects in jme2

Hi all,

has anybody an idea how to setup a bloomrenderpass for an object that should not shine through other objects? I know that bloomPass.setUseCurrentScene(true) solves the problem but the rest of the scene shouldn’t shine.

For example the lamps off a ship. When I stand in front of the ship I can see the lamp but when I go to the back I don’t want to see them.