1
$\begingroup$

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

$\endgroup$
  • $\begingroup$ Check my fresh answer from here: blender.stackexchange.com/questions/88584/… $\endgroup$ – cgslav Aug 22 '17 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 Aug 22 '17 at 14:39
2
$\begingroup$

First method (recommended):

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

first

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.

second

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.