I've tried numerous answers on this forum and tutorials, but for some reason I can't get this light to hide properly and still perform a glow effect. What I need is for the light (highlighted with a green rectangle) to hide properly, but still allow the blur and glare effect to show in the foreground.

Here is a screenshot of the node setup in the compositor:

enter image description here

And here is a screenshot of the issue:

enter image description here

EDIT: my attempt at LukeD's answer for reference.

enter image description here

  • $\begingroup$ Check my fresh answer from here: blender.stackexchange.com/questions/88584/… $\endgroup$
    – cgslav
    Commented Aug 22, 2017 at 3:07
  • $\begingroup$ Thanks @LukeD! However, I wasn't able to achieve that effect. I've posted my revised node setup based on your solution. Could you tell me where I went wrong? $\endgroup$
    – lakerice
    Commented Aug 22, 2017 at 14:39

1 Answer 1


First method (recommended):

This one is pretty simple, you can use Z-Depth value to 'hide' layer (yellow) behind mesh.


Second method (with manual Glare control):

If you for some reason would like to hide Glare effect from the front part of the mesh you could use Mask and manually place it on your image.


  • 1
    $\begingroup$ That did it! The first method was exactly what I was trying to achieve. Thanks again! $\endgroup$
    – lakerice
    Commented Aug 22, 2017 at 17:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .