In this section, we'll be editing the layer mask to mask out the effect from the shadows.
Use the Apply Image tool to apply the Background layer to the layer mask. To do this, open the Apply Image tool (Image> Apply Image) and change the Layer to Background and click OK.

Hold the Alt key and click on the thumbnail of the layer mask.

With the layer mask still activated, use the Threshold tool (Image> Adjustments> Threshold) and adjust the slider to define where the bloom Photoshop effect will be visible.
