Bloom layers : my floor hide my objects!


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


As well as my code :

Thanks for your help :wink:

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…

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

Is it possible to do that with bloom effect ?