Bloom layers : my floor hide my objects!

Hello,

I am trying to understand the principles of “BLOOM”. I understood that the scene was rendered twice, once without the bloom and once with it by playing with the layers.

But I don’t understand how to make my ground when I activate the orbitcontrols hide my light emitting objects?

Here is a gif of my problem

Animation2

As well as my code :

Thanks for your help :wink:

Hi!
Do you want to have selective bloom effect? Then, better to have a look at this example: three.js examples

Okay thanks i success to implement it with the example

But now i don’t find how to do to have for example my sky background transparent and play with my body color with a linear-gradient…

html,
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(#266F92, #111214);
}

Is it possible to do that with bloom effect ?