Glb model is not shown when a different layer is set

Hi everyone,
I want to apply bloom effect to glb model with layers.

In this fiddle, I’m trying to apply effect to a blue box and glb model.

I expect glb model is bloomed when I enable L46 code for setting glb to layer.
But actually model is disappear.

    gltf.scene.traverse( function ( child ) {
//	    child.layers.set(1);
    })

How can I handle this problem?

You also have to enable the second layer for the light:

Otherwise you render the glTF asset without lights and thus have a black material.

1 Like

Thanks a lot!
I hadn’t thought about the light.