3

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

lakerice
  • 1,687
  • 2
  • 21
  • 44
  • Check my fresh answer from here: https://blender.stackexchange.com/questions/88584/creating-a-planet-atmosphere-blurry-edge/88602#88602 – cgslav Aug 22 '17 at 03:07
  • 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? – lakerice Aug 22 '17 at 14:39

1 Answers1

4

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

cgslav
  • 17,548
  • 2
  • 39
  • 82